Learn String Manipulation by Building a Cipher - Step 26

Tell us what’s happening:

I’m having trouble figuring out how to write a new variable before my for loop function and I need to assign a returned value from or with a different variabe. Can someone help?

Your code so far

text = 'Hello World'
shift = 3

# User Editable Region

alphabet = 'abcdefghijklmnopqrstuvwxyz'
index = 
 for char in text:
 print(char)

# 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/131.0.0.0 Safari/537.36

Challenge Information:

Learn String Manipulation by Building a Cipher - Step 26

You cannot use a = without something on each side. Also, this variable in not inside you for loop.

Also, your use of whitespaces here was changed and is now invalid Python syntax