What are some fun and simple puzzles or cryptography I can solve with Python to help me learn the basics?
I'm working my way through
Dive Into Python for fun and I'm itching to get some enjoyable coding done. I've found
PythonChallange.com, and cryptographic tasks appeal to me, but I'd appreciate some handholding if I'm stumped.
I'm not fantastic at math, so I'd enjoy string/list-based parsing, ciphering, and sorting puzzles -- especially if there's 'starter' examples and lots of interesting input sources or messages to work with. For example, coding an Enigma machine or similar mechanical cipher would be lots of fun (as long as I can look up actual implementations to compare).
Are there any puzzle-y Python tutorials? Or just cryptographic tutorials not prog. language-specific (with pseudocode)?
Take the phrase "once upon a time" written in Morse code. Change all the dots to dashes, and dashes to dots. This will spell out a new phrase. What is it?
I moved to C to speed up the dictionary lookups, and eventually printed out likely candidates and scanned through them by eye to figure out the answer.
I haven't played with Python, so I wouldn't be of help there.
posted by dr. fresh at 1:00 PM on February 28, 2008