Tell us what’s happening:
Describe your issue in detail here.
help me solve this - Step 13
Now assign the value returned by alphabet.find(text[0])
to a variable named index
. Then, print its value.
ive writen some code but its not working
Your code so far
text = ‘Hello World’
shift = 3
alphabet = ‘abcdefghijklmnopqrstuvwxyz’
alphabet.find(text[0])
index = -1
print(‘-1’)
/* User Editable Region */
text = 'Hello World'
shift = 3
alphabet = 'abcdefghijklmnopqrstuvwxyz'
alphabet.find(text[0])
index = -1
print('-1')
/* 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 13