Learn String Manipulation by Building a Cipher - Step 19

Tell us what’s happening:

i dont know what to do and i dont know how to declare

Your code so far


# User Editable Region

text = 'Hello World'
shift = 3
shifted = alphabet[index]
index = alphabet.find(text[0].lower())
print(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/133.0.0.0 Safari/537.36

Challenge Information:

Learn String Manipulation by Building a Cipher - Step 19

here you have declared shifted, but there is some more issues: alphabet has disappeared for example

you will need to reset the step, add shifted again on a new line, and try to give it the requested value. You do not need to delete or change anything that is already existing