Summary

Completed

With your decrypt.py file, you can now decode any secret message that uses the English alphabet. Your decoded messages will be in all lowercase, but that shouldn't take away from the meaning behind them.

Special thanks to Audrey St. John from Mount Holyoke College for the inspiration for this lesson!

Tip

Remember, this module is part of a multimodal learning experience. Follow along with a video walkthrough of a similar program in a new tab.

Other challenges for your decrypt code

As an added challenge, you can explore how to:

  • Maintain casing for each letter throughout the decoding process.
  • Create a function to read in an entire message without having to print each word individually.
  • Modify your decoder to include numbers.

Discover the next coding challenge

Now that you've decoded your first secret message, the natural next step is to determine what your super sleuth character is! In the next module in this learning path, you'll create a test to determine your superpower with Python and Visual Studio Code.

Dive deeper into Python

If Python has piqued your interest, check out the rest of the Python for beginners learning path.

After you complete this learning path, look for other Learn modules to continue your learning journey on our Student page.

From tracking global air quality with Azure Maps to helping farmers protect their crops by using text weather alerts from Azure Functions, we're here to guide you as you explore new technology, develop new coding skills, and solve challenging problems!