Learn String Manipulation by Building a Cipher - Step 26

Tell us what’s happening:

Hello there,
I am currently on step 26. I am confused as to what I have done wrong. If anyone could dumb this down for me to a level I would be able to understand I would be very grateful.

Thankyou for any help which may be offered.

Regards,
Clay

Your code so far

text = 'Hello World'
shift = 3
alphabet = 'abcdefghijklmnopqrstuvwxyz'

# User Editable Region

index = alphabet.find(char)
for char in text:
    print(char)

# User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36

Challenge Information:

Learn String Manipulation by Building a Cipher - Step 26

that is not inside the for loop, so there char does not exists