Learn String Manipulation by Building a Cipher - Step 16

Can anyone help ! The step 16 asked me to declare a variable name shifted I declared a variable as you see. The next thing step 16 asked me to assign it the alphabet letter at index plus shift.
Would someone please tell me how to do that ?


# User Editable Region

text = 'Hello World'
shift = 3
alphabet = 'abcdefghijklmnopqrstuvwxyz'
index = alphabet.find(text[0].lower())
print(index)
shifted = alphabet[7].index + shift

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

Challenge Information:

Learn String Manipulation by Building a Cipher - Step 16

Welcome to the forum @Irrfan

Let the code work out shifted index.
Replace the number in your code for shifted with the two required variables.

Happy coding

in simple word:
1- add the variable “shifted”
2- assign “alphabet” then nex to it, add “index + shift” between this [ ] and not ( ).