Tell us what’s happening:
Describe your issue in detail here.
Question: Step 24
Now, remove the indentation and see what happens to the output.
I have been trying for 1-2 hours to find a solution to this problem but I don’t seem to find one, I realized I have a different question than other people used to have, is this a bug? And if not please just tell me the answer and if possible explain it because I don’t think I can solve it if it is even solvable.
Your code so far
# User Editable Region
text = 'Hello World'
shift = 3
alphabet = 'abcdefghijklmnopqrstuvwxyz'
for char in text:
index = alphabet.find(char)
print(char, index)
# 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/121.0.0.0 Safari/537.36
Challenge Information:
Learn String Manipulation by Building a Cipher - Step 24