Learn String Manipulation by Building a Cipher - Step 23

Hello everyone. Im learning python and have been stuck with this for about an hour now. Ive tried placing “index = alphabet.find (char)” in multiple different areas, ive tried changing "for char in text: " to "for char in alphabet: ". Nothing is working. Ive read previous forum posts, trying every single suggestion but to no avail. Id appreciate genuine help and not a suggestion from someone stating I dont know anything and should go back to the beginning. Honestly one of the most insane responses Ive ever read considering the website im on.


/* User Editable Region */

text = 'Hello World'
shift = 3
alphabet = 'abcdefghijklmnopqrstuvwxyz'
  for char in text:  
 index = alphabet.find (char)
    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/120.0.0.0 Safari/537.36

Challenge Information:

Learn String Manipulation by Building a Cipher - Step 23

before anyone asks, yes I removed the spacing between find and (char). Ive tried everything to my knowledge.

Indentations aren’t where they’re supposed to be:

1)Line 4 should be moved back and aligned with line 3

2)Line 5 and 6 should be indented so they fall under for char in text:

(the indentation means they belong to the for-loop statement of line 4.
In other words, they will be recognized as lines of code that will loop, if lines 5 and 6 are not indented, it won’t be recognized as part of the for-loop iteration process.)

try that

You were right. Thank you. Indentation slipped my mind