Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 18 Online
OpenStudy (anonymous):

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.

OpenStudy (anonymous):

I dont know if it is some kind of overflow.

OpenStudy (anonymous):

It is really frustrating decoding the text up until a random point every time.

OpenStudy (anonymous):

Try using print statements and see what is actually happening

OpenStudy (anonymous):

I'm just starting with this problem set

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!