Python index help


#1

I need help with exercise 4,It says find the 5th index but there isn’t any.

Strings and Console Output

EDIT:I figured it out nevermind


#2

On line 13, assign the variable fifth_letter equal to the fifth letter of the string “MONTY”.

its 5th letter, if i count letters, i start at one, you too? We are human, not computer

len() also starts counting at one, which is why this was done on purpose


#3

Sorry,I thought it said the fifth index but I read it again and it said fifth LETTER.
Thanks for your help tho


#4

Reading and understanding what you are reading are very important within programming :wink:

good you figured it out on your own, that is actually better :slight_smile:

you’re welcome


#5

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