Learn String Manipulation by Building a Cipher - Step 13

Tell us what’s happening:

Sorry, your code does not pass. Don’t give up.

I have this message called “You should call the .find() method on the alphabet variable and pass text[0] to the method. Pay attention to place the method call at the beginning of the line.”
when I am coding

Your code so far


# User Editable Region

alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
text = "HELLO"

finder = alphabet.find(text[0])

print(finder)


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

Challenge Information:

Learn String Manipulation by Building a Cipher - Step 13

do not create a new variable in this step, just call the method

also, you have changfed alphabet and text. it is highly recommended you do not change things outside the provided instructions, you could cause the tests to not pass

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.