Learn String Manipulation by Building a Cipher - Step 12

Tell us what’s happening:

Hello there, I have tried to use:

alphabet.find(“a”)

and

x = alphabet.find(“a”)
print(x)

or

alphabet = “abcdefghijklmnopqrstuvwxyz”
alphabet.find(text[0])

and I still not pass this test.

Could anyone help me with this task? What am I ignoring here?

Your code so far


/* User Editable Region */

alphabet = "abcdefghijklmnopqrstuvwxyz"
alphabet.find(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/120.0.0.0 Safari/537.36

Challenge Information:

Learn String Manipulation by Building a Cipher - Step 12

You’ve deleted some of the code that was already there. Id reset the step and only add this line

Thank you for the help