Learn String Manipulation by Building a Cipher - Step 17

How do i do this step?


# User Editable Region

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



# 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 17

Hello eoghanmcnally, welcome to the forum!

You still have a stray .find() after your print statement that’s doing nothing. You will have to remove that.

1 Like