Build a Caesar Cipher - Step 12

Tell us what’s happening:

I keep getting stuck on this step, and I don’t really understand what it means by this line.
Assign the function call to a variable named encrypted_text.

Your code so far

def caesar(text, shift):
    alphabet = 'abcdefghijklmnopqrstuvwxyz'
    shifted_alphabet = alphabet[shift:] + alphabet[:shift]
    translation_table = str.maketrans(alphabet, shifted_alphabet)
encrypted_text = caesar('FreeCodeCamp', 3)
print(encrypted_text)



# User Editable Region
def caesar(text, shift):
    alphabet = 'abcdefghijklmnopqrstuvwxyz'
    shifted_alphabet = alphabet[shift:] + alphabet[:shift]
    translation_table = str.maketrans(alphabet, shifted_alphabet)
encrypted_text = caesar('FreeCodeCamp', 3)
print(encrypted_text)


# User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36

Challenge Information:

Build a Caesar Cipher - Step 12

Welcome to the forum @Moody54!

Now, test the caesar function by calling it with the string freeCodeCamp and the number 3 as the arguments. Assign the function call to a variable named encrypted_text .

Where, in your current code, have you created a variable and assigned a value to it?

What variable are you asked to create in this step?

How do you call a function? How would call the caesar function with the two arguments in the instruction?

Can you say what you don’t understand about this step?

Happy coding!