To delete element from list by its index pop in list is used.
Example of List.pop:
for an instance “a” is list as shown below
a=[‘apple’,’orange’,’mango’,’guavava’]
To remove guavava from list we will type its index value in bracket as shown below
a.pop(3)
Output:’guavava’
Now when you print list guavava will have been removed.
[…] List.Pop: To remove or pop element from a list by its index […]