What is the following function inserts an object at given index in a list?

Category: PythonWhat is the following function inserts an object at given index in a list?
Editor">Editor Staff asked 2 years ago

What is the following function inserts an object at given index in a list?
A – list.index(obj)
B – list.insert(index, obj)
C – list.pop(obj=list[-1])
D – list.remove(obj)

1 Answers
Editor">Editor Staff answered 2 years ago