I'm stuck,is that a BUG or some?


#1

Is that a bug?

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

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

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

print fifth_letter[4]`

And here is the output

Y
None

But i got an ERROR

Oops, try again. The value of fifth_letter is "MONTY" instead of "Y".

Image:


#2

you have to access the index at line 13:

fifth_letter = "MONTY"[x] // acces index here

then print the fifth letter:

print fifth_letter

#3

try instead
fifth_letter = "MONTY"[4]

print fifth_letter


#4

:relieved: :grinning: