Python Interviews: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 56:
Pop the last element from the list:
a.pop()
 
Pop 3rd element:
list1.pop(2)
 
Reverse the list: