EASY Caesar Cipher in Python


Video is ready, Click Here to View ×

Teehee, I whined about finding a video of a Caesar Cipher in Python that was 8 minutes long, when mine turned out to be 10… 😉
Hang with our community on Discord! https://discord.gg/VCwJBcn
If you would like to support me, please like, comment & subscribe, and check me out on Patreon: https://patreon.com/johnhammond010
E-mail: johnhammond010@gmail.com
PayPal: http://paypal.me/johnhammond010
GitHub: https://github.com/JohnHammond
Site: http://www.johnhammond.org

22 thoughts on “EASY Caesar Cipher in Python

  1. def caesar(rotate_string, number_to_rotate_by):
    return rotate_string.translate(str.maketrans(string.ascii_lower, "{}{}".format(string.ascii_lower[number_to_rotate_by:],string.ascii_lower[:number_to_rotate_by])))

Leave a Reply

Your email address will not be published. Required fields are marked *