Learn String Manipulation by Building a Cipher - Step 13

Tell us what’s happening:

Describe your issue in detail here.

Your code so far


# User Editable Region

alphabet = 'abcdefghijklmnopqrstuvwxyz'
alphabet = alphabet.find(text[0])
print(alphabet)

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

Challenge Information:

Learn String Manipulation by Building a Cipher - Step 13

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.

Hi, welcome to the forum!
We see you have posted some code but did you have a question?

(You have not filled out the “Tell us what’s happening:” field above)

Welcome to the forum @Jay_lopez

The instructions:

At the end of your code, call .find() on your alphabet string and pass text[0] to the method. Note that a method is just a function that belongs to an object (you will learn more about that in another project).

  1. You deleted the first two lines of code. Please reset the step to restore the original code. Then only modify the code you are asked. The tests make specific tests in the code. Altering any part of the code you are not asked will fail the tests.

  2. The instructions did not ask you to place a print call. Carefully read the instructions and try again.

Happy coding