Learn String Manipulation by Building a Cipher - Step 26

Tell us what’s happening:

i have tried but i notice i still didnt get the answer

Your code so far


# User Editable Region

text = "Hello World"
alphabet="abcdefghijklmnopqrstuvwxyz"
for char in word:index = alphabet.find(chair)
print(char,index)

# 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/148.0.0.0 Safari/537.36 Edg/148.0.0.0

Challenge Information:

Learn String Manipulation by Building a Cipher - Step 26

GitHub Link: https://github.com/freeCodeCamp/freeCodeCamp/blob/main/curriculum/challenges/english/blocks/learn-string-manipulation-by-building-a-cipher/65521fc818947e800bffe48a.md

what are you trying to do?