What is wrong?


#1



Replace this line with your code.

[Access by Index]

fifth_letter = "MONTY"

print fifth_letter[4]

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


#2

you can access by index directly on the string:

"MONTY"[index]

which you can store in fifth_letter variable, and then print it


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.