Tell us what’s happening:
Even when I try to make my arguments uppercase by .upper and trying to concatenate both of them, the program keeps saying the same thing. I have tried every combination I could find, and the one in the photo is the result of me searching google and trying a new thing
Your code so far
def caesar(text, shift):
alphabet = 'abcdefghijklmnopqrstuvwxyz'
shifted_alphabet = alphabet[shift:] + alphabet[:shift]
result = alphabet.upper() + " " + shifted_alphabet.upper()
# User Editable Region
translation_table = str.maketrans
(result)
# User Editable Region
encrypted_text = caesar('freeCodeCamp', 3)
print(encrypted_text)
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/152.0.0.0 Safari/537.36
Challenge Information:
Build a Caesar Cipher - Step 15