In this short tutorial, you will learn how to remove an item from a list in Python using remove and the del keyword. Want to learn more? See our courses here https://goo.gl/yFHuvF.
Read the documentation for lists here: https://docs.python.org/3/library/std...
Code from video:
*****************
company = ['michael', 'eric', 'michael']
company.remove('michael')
company
del company[-1]
company
Connect with us!
*****************
/ enthought
/ enthought
/ enthought