Starting at 0


#1


The string "PYTHON" has six characters,
numbered 0 to 5, as shown below:

+---+---+---+---+---+---+
| M | O | N | T | Y | |
+---+---+---+---+---+---+
0 1 2 3 4 5

So if you wanted "Y", you could just type
"PYTHON"[1] (always start counting from 0!)
"""
strong = "MONTY"

fifth_letter = "Y"

If we should start at 0, isn't "Y" the fourth letter?


Replace this line with your code.


#2

'Y' will always be the 5th letter in the word 'Monty', but if you mean "will it be at index 4?", then yes, it will.


#3

Thanks! I'm not sure what code to put in for "fifth_letter = "MONTY" [5] = "Y"


#4

The fifth_letter = "Monty"[4] which is "Y"


#5

Okay awesome! Just got it. Thanks!


#6