Learn String Manipulation by Building a Cipher - Step 15

Tell us what’s happening:

You should declare a variable named index. Pay attention to place the variable name at the beginning of the line.

Your code so far


# User Editable Region

 
text = 'Hello World'
shift = 3

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


# User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Mobile Safari/537.36

Challenge Information:

Learn String Manipulation by Building a Cipher - Step 15

please try to declare the index variable, or ask your specific questions about this step

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