Page 1 of 1

Suppose list1 is [2, 33, 222, 14, 25], What is list1[:-1]?

Posted: Wed Jul 13, 2022 7:44 pm
by answerhappygod
a) [2, 33, 222, 14]
b) Error
c) 25
d) [25, 14, 222, 33, 2]