9/18 is phrased incorrectly


#1

It asks to change line 2 of “return x” to only output the first index of a list. So I changed the line to be “return x[0]” as this would change the first index in the list since python counts from 0 instead of 1. I clicked run, it output the right index but it was marked wrong. I changed the line to “return x[1]” and it was marked correct. Am I wrong to think that the prompt in the lesson was incorrect?


#2

Please remember to post a link to the exercise when reporting an issue. Thanks.


#3

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