Learn String Manipulation by Building a Cipher - Step 16

Hello i seem to be stuck on this section. i cant seem to figure out what it wants me to do exactly. i have created the variable shifted like it asked me to do i just cant seem to figure out what to do about assigning the alphabet letter. Any help would be greatly appreciated

Your code so far


# User Editable Region

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

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

Challenge Information:

Learn String Manipulation by Building a Cipher - Step 16

Welcome to the forum @cjcornwell1201

Welcome to the forum

  1. Use the index variable you declared as a guide.
  2. The zero in square brackets is accessing a certain position of the alphabet string.

Delete string_var[int] as this is throwing an error, and was not asked for in the instructions.

Happy coding