Automaton for recognition abc , bac, bca .. words

Question:

I need to build an automation, to permutate letters of three symbols – a,b,c. For example the results can be – abc,acb,bac,bca,cab,cba, total 6 permutations for 3 symbols. Can this be coded in Python?

Please help! Each symbol can be used only one time. And length of each permutation must be equal to 3.

Asked By: jin15

||

Answers:

The simplest one is the following:

enter image description here

Answered By: John Doe