Proplems


#1

what does this mean:
"""
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 = Y

print fifth_letter

it keeps telling me im wrong

Strings and Console Output


#2

I think that, if you study the example in the comments and probably the instructions as well, you can get a better idea of what the exercise wants you to do. (Seems like you kind of ignored the instructions completely and should therefore look closer at them rather than be asking)


#3

but it told me to type Y


#4

No, no it doesn’t. Where would you say that it is telling you to do that?


#5

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