Problem set 4- multilayer decoding. Ok I used generators to obtain all possible decoding shifts, but I am experiencing an odd behavior. Every time I run the code or if I insert some random print statement in it, I obtain a different shift sequence. For example if I run the code I can obtain the correct shifts up until some word in the text, but if I restart the shell I obtain a shift sequence up until some other word. I know that it could take a while to obtain every combination specially when at a given point there is more than one valid shift, but it should go through the whole text.
I dont know if it is some kind of overflow.
It is really frustrating decoding the text up until a random point every time.
Try using print statements and see what is actually happening
I'm just starting with this problem set
Join our real-time social learning platform and learn together with your friends!