Hi, @Roshni,
I will explain to you with an example where your concept will be cleared, please follow the below given:
a=[1,2,4]
Now, we use the method insert. The first argument is the index at which to insert, the second is the value to insert.
a.insert(2,3)
a
Output
[1, 2, 3, 4]