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” 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” and it was marked correct. Am I wrong to think that the prompt in the lesson was incorrect?
Please remember to post a link to the exercise when reporting an issue. Thanks.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.