Learn String Manipulation by Building a Cipher - Step 15

I’ve been having the same problem for hours, I can’t solve it, I’ve tried different ways, if anyone can help me.


/* User Editable Region */

text = 'Hello World'
shift = 3
alphabet = 'abcdefghijklmnopqrstuvwxyz'
find(text[0]).lower()


### Challenge Information:
Learn String Manipulation by Building a Cipher - Step 15
https://www.freecodecamp.org/learn/scientific-computing-with-python/learn-string-manipulation-by-building-a-cipher/step-15

Hello Silv4,

The question only asked you to the remove the last print call, nothing else.
After that you have to replace text[0] to text[0].lower() in your index variable assignment.

(If you want, you can reset the code and try it again to get the index variable and first print line back).

1 Like

Thank you very much, it worked here!!

1 Like

Thanks, had the same issue, the tasks needs to be clearer

1 Like