Member-only story
QUICK SUCCESS DATA SCIENCE
Solve the Voldemort Anagram with Python and Cryptography
Computer Wizardry at its best!
An anagram is a word formed by rearranging the letters of another word. For example, Elvis yields the eerie trio evils, lives, and veils. Does this mean Elvis still lives but veils his evil existence?
In the book Harry Potter and the Chamber of Secrets, “I am Lord Voldemort” is an anagram of the evil wizard’s real name, Tom Marvolo Riddle. “Lord Earldom Vomit” is also an anagram of Tom Marvolo Riddle, but author J.K. Rowling had the good sense to pass on that one.
In this Quick Success Data Science project, you’ll first write a Python program to find all anagrams for a given word or name. Then, you’ll write a program that lets a user interactively build an anagram phrase from their own name. Finally, you’ll pretend to be a “computer wizard” and see what it takes to programmatically extract “I am Lord Voldemort” from “Tom Marvolo Riddle.” This will be a challenge, since “Voldemort” is a non-English proper name not found in digital dictionaries.
Solving Anagrams with Python
When I was a boy, there were these things called “newspapers.” And these “newspapers” carried an anagram game called Jumble. Created in…









