1.

Suppose list1 is [2, 33, 222, 14, 25], What is list1[-1]?(a) Error(b) None(c) 25(d) 2

Answer» Correct answer is (c) 25

To explain I would say: -1 corresponds to the last index in the list.


Discussion

No Comment Found