My code for vigenere cipher in pset2 completes all tests except the one with a comma and space in plaintext, it iterates the keyword index over comma and space and i dont know how to fix it. It should iterate only over letters

:( encrypts "hello, world!" as "iekmo, vprke!" using "baz" as keyword



Well, i actually found out how to solve it. I added new iterator for keyword indexing, its on line 23, if anyone will struggle with similar question. https://gist.github.com/romon267/4ec1accff7c3b637992a88d5706f1450

You must log in to answer this question.

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