Tell us what’s happening:
on step 27 (python beta string manipulation)I have found the value of alphabet.find(char) to be 3 and I’m writing the variable index in the beginning of the for loop but it’s still wrong! please tell me what to do!
Your code so far
text = 'Hello World'
shift = 3
alphabet = 'abcdefghijklmnopqrstuvwxyz'
# User Editable Region
(index = 'alphabet.find(char)'for char in text:
print(char)
# User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36
Challenge Information:
Learn String Manipulation by Building a Cipher - Step 27