Dec 16, 2020
How to remove items or duplicates from a list in Python. Don't run around in loops to edit lists if there are built-in functions to help you out.
- Remove duplicates from a list
- Remove elements from a list
- Clear a list
Our list:
my_list = [1,1,1,1,2,3,4]