Learn String Manipulation by Building a Cipher - Step 14

Tell us what’s happening:

Hello, guys! I am stuck here in step 14. I have been trying this for about 45 minutes and still haven’t figured it out.
To be honest, I don’t really understand the instructions. Do I need to modify like this?
text = ‘Hello World’
shift = 3
alphabet = ‘abcdefghijklmnopqrstuvwxyz’
alphabet.text[0]

Your code so far


# User Editable Region

text = 'Hello World'
shift = 3
alphabet = 'abcdefghijklmnopqrstuvwxyz'
alphabet.text[0]

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

Challenge Information:

Learn String Manipulation by Building a Cipher - Step 14

Hi. You need to use the find method correctly. I suggest you reset the step to get your code back to how it was so you can see how the find method was used. You use the same find method but pass a different argument to the method in place of ‘z’ as instructed.

1 Like

ok, you are a life safer, hahaa. I am in step 15 now. Thanks :upside_down_face:

1 Like