Learn String Manipulation by Building a Cipher - Step 27

Tell us what’s happening:

Describe your issue in detail here.
I have no clue on how to do this.

Your code so far

text = 'Hello World'
shift = 3
alphabet = 'abcdefghijklmnopqrstuvwxyz'
for  in text:

# 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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36

Challenge Information:

Learn String Manipulation by Building a Cipher - Step 27

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.

Reset the code for this step. You need to write inside the loop body, you must not modify the for char in text: line.

These are the instructions I am given.
“You should declare a new variable named index at the beginning of your for loop.”
please advise how to solve this challenge

At the beginning of the for loop means inside the body. Did you try to reset the code? If you still need help share the updated code.

BRO!!! I am so happy i got it right! Thank you sooo much for clarifying.
for char in text:
index = alphabet.find(char)
print(char)