Jul-26-2018, 06:38 PM
(This post was last modified: Jul-26-2018, 06:38 PM by jarrod0987.)
I have been playing with your code example and figuring out what it does.I think I will be able to do that on my own. How do you add rules about disallowing certain perms? I can't write it because I have no idea where to even start. What commands to use. I am used to using itertools for my perms.
Edit:
I don't quite get the purpose of the start = [] and if not sequence return start (I do know what if not does and I think this has to do with when the sequence runs out of items?)
I also can't quite grasp the feedback loop perms.extend etc. I understand it uses the same function inside itself but having a hard time visualizing it.
Edit:
I don't quite get the purpose of the start = [] and if not sequence return start (I do know what if not does and I think this has to do with when the sequence runs out of items?)
I also can't quite grasp the feedback loop perms.extend etc. I understand it uses the same function inside itself but having a hard time visualizing it.