Tell us what’s happening:
I have tried different ways to solve this problem. I Need help to solve it.
Your code so far
# User Editable Region
text = 'Hello World'
shift = 3
alphabet = 'abcdefghijklmnopqrstuvwxyz'
new_index = index + 3
for char in text.lower():
index = alphabet.find(char)
print(char, index)
# User Editable Region
Your browser information:
Challenge Information:
Learn String Manipulation by Building a Cipher - Step 29