Learn String Manipulation by Building a Cipher - Step 54

Tell us what’s happening:

my problem is that however i get the output it does not accept it
could anyone help me pls?

Your code so far

text = 'Hello Zaira'
shift = 3

# User Editable Region

def caesar(message, offset):
    alphabet = 'abcdefghijklmnopqrstuvwxyz'
    encrypted_text = ' '

    for char in text.lower():
        if char == ' ':
            encrypted_text += char
        else:
            index = alphabet.find(char)
            new_index = (index + offset) % len(alphabet)
            encrypted_text += alphabet[new_index]
    print('plain text:', message)
    print('encrypted text:', encrypted_text)

caesar(text,shift)

# User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0

Challenge Information:

Learn String Manipulation by Building a Cipher - Step 54

Here it would help if you changed the name of the variable.

Where did you find the instructions to pass any argument to the function call?

i saw everyone do it so somehow i ended up with it.
also why could we change text.lower and get away with it while with encrypted_text not?
also ty for the help

The lower() method returns a string with lowercase characters. It is applied to the ‘text’ variable by adding .lower() after the variable’s name (given by default in this step). On the other hand the encrypted_text is the variable’s name per se (encrypted_text = ' '). Your task in this challenge is to rename the text and shift variables only. Nothing else.

oh i see, now that you explained it i see what was up, thx