Learn String Manipulation by Building a Cipher - Step 13

Tell us what’s happening:

please can someone help me, I’m lost.Don’t know what to do

Your code so far


# User Editable Region

text = 'Hello World'
shift = 3
alphabet = 'abcdefghijklmnopqrstuvwxyz'
alphabet.find(text[o])

# User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36

Challenge Information:

Learn String Manipulation by Building a Cipher - Step 13

text[0]
text[o]

A number goes in the square brackets, because it refers to the index or position number in the string.

text[0] would be the first position,
text[1] would be the 2nd position,
text[2] is the letter in the third position