Hi i have some trouble understanding what is required of me here
I thought the purpose of this step was to find and print the position of the first letter in my alphabet string and that is what i did until print(x)
However it says at the end that i need to call call find()
on your alphabet
string and pass text[0]
to the function which i dont understand and therefore dont know what to do am i not supposed to find the position of a in my alphabet string because i tried alphabet = ‘abcdefghijklmnopqrstuvwxyz’
alphabet.find(text[0])
and that too didnt work and also did not make sense to me
please help me understand how to proceed
alphabet = ‘abcdefghijklmnopqrstuvwxyz’
x = alphabet.find(‘a’)
print(x)
alphabet.find(text[0])
Challenge Information:
Learn String Manipulation by Building a Cipher - Step 12