im totally a newbie in coding and if u guys just help me out i worked hard with the code and i just want it to pass the check50 i check the output on command line and there is no problem !! i wonder why check50 got problem with it it actually passes the two steps of check50 but check50 can't input values in it so the two step and the last step is passed on check50 if anyone could help me it would be great

enter image description here

1 Answer 1


check50 is very exacting. Looking at line 41, you seem to have a space before the newline. check50 will be expecting something like "abc\n" but your program would give "abc \n" which would fail.

Also, you need to print "plaintext: " before asking for user input and "ciphertext: " before printing any of the ciphered chars. I don't see that at all.

If you make those changes, do you pass?

  • thanks that helped me with my problem :)
    – Homan
    Commented Aug 24, 2017 at 10:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .