Question
If `values = [10, 20, 30, 40]`, what does `values[2]` return?
Select an option. Your answer will be checked instantly.
Correct Answer: C. 30
Explanation:
Python uses zero-based indexing, so index 2 refers to the third element. The third value in the list is 30.
Leave a Reply