Tell us what’s happening:
Please help me, I can’t find the solution to this problem.
Your code so far
# User Editable Region
alphabet = 'abcdefghijklmnopqrstuvwxyz'
text = 'Hello World'
shift = 3
char = text[0].lower()
position = alphabet.find(char)
print("The first character of the text '{}' is located at position {} in the alphabet string.".format(char, position))
# 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 Edg/120.0.0.0
Challenge Information:
Learn String Manipulation by Building a Cipher - Step 12