What is the following function removes last object from a list?
A – list.index(obj)
B – list.insert(index, obj)
C – list.pop(obj=list[-1])
D – list.remove(obj)
1 Answers
What is the following function removes last object from a list?
A – list.index(obj)
B – list.insert(index, obj)
C – list.pop(obj=list[-1])
D – list.remove(obj)