Access by Index possible bug


#1



I think i found a bug

https://www.codecademy.com/courses/python-beginner-sRXwR/0/4?curriculum_id=4f89dab3d788890003000096#
This is my code:
fifth_letter = "MONTHY"[5]

This is the error message:
Oops, try again. Remember to use the string "MONTY" (all caps!) in your code.


The hint says, the answer is "Y". The consol prints it out too, but I always get the error message instead


Replace this line with your code.


#2

Check your spelling.


#3

OMG, now I see it...

Thank you :slight_smile:


#6

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