Tell us what’s happening:
I tried entering this code,“text = ‘Hello World’
shift = 3
alphabet = ‘abcdefghijklmnopqrstuvwxyz’
index = alphabet.find(text.lower()[0])
print(index)”, on VScode or a code text editor and there was absoloutely no errors, so why does your platform keep telling me “your code does not work, Try again”?
Your code so far
# User Editable Region
text = 'Hello World'
shift = 3
alphabet = 'abcdefghijklmnopqrstuvwxyz'
index = alphabet.find(text.lower()[0])
print(index)
# User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0
Challenge Information:
Learn String Manipulation by Building a Cipher - Step 17