Tell us what’s happening:
Im stuck, I have no idea what to do even tho I’ve already finished these lessons
Your code so far
def caesar(text, shift):
encrypted_text=caesar('freeCodeCamp',3)
alphabet = 'abcdefghijklmnopqrstuvwxyz'
shifted_alphabet = alphabet[shift:] + alphabet[:shift]
translation_table = str.maketrans(alphabet, shifted_alphabet)
encrypted_text = text.translate(translation_table)
return encrypted_text
# User Editable Region
# User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15
Challenge Information:
Build a Caesar Cipher - Step 12