Learn String Manipulation by Building a Cipher - Step 4

Tell us what’s happening:

Describe your issue in detail here.
I’m trying to get step 4 of this code to run but it doesn’t work I followed exactly what they wanted me to put , it tells me to print the text index of 6 which is the letter r in the word hello world. but the way it was shown it has an value of 8 is that human error or am I doing something wrong

Your code so far


# User Editable Region

my_string ='Hello World'
r = my_string[8]
print(text[8])

# 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 OPR/106.0.0.0

Challenge Information:

Learn String Manipulation by Building a Cipher - Step 4

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.

Welcome to the forum @averywm070601

You seem to be using the example code from the instructions.

Please reset the step, then access the text variable at index 6.

Happy coding