Page 1 of 1

To insert 5 to the third position in list1, we use which command?

Posted: Wed Jul 13, 2022 7:44 pm
by answerhappygod
a) list1.insert(3, 5)
b) list1.insert(2, 5)
c) list1.add(3, 5)
d) list1.append(3, 5)