Learn String Manipulation by Building a Cipher - Step 17

Tell us what’s happening:

I had looked in the forum and tried a lot of ways, but I still couldn’t solve this step.

Your code so far


# User Editable Region

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

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

Challenge Information:

Learn String Manipulation by Building a Cipher - Step 17

Welcome to the forum @Amazing-sloth

You should print text.lower(). Pay attention to place the function call at the beginning of the line.

Please reset the step to restore the seed code.
Then insert a second print call with the argument mentioned in the instructions and hint message.

Happy coding

@Teller

code removed by moderator

“use this code bro”