Tell us what’s happening:
i have tried solving it by many different forms but unable to do it
Your code so far
text = 'Hello World'
shift = 3
alphabet = 'abcdefghijklmnopqrstuvwxyz'
index = alphabet.find(char.lower())
# User Editable Region
for char in text:
# index = alphabet.find(char.lower()) # Declare a new variable named index
print(char)
#for char in text:
# index = alphabet.find(char.lower())
# index=alphabet.find(char.lower())
# print(char)
# 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/126.0.0.0 Safari/537.36
Challenge Information:
Learn String Manipulation by Building a Cipher - Step 26