In this short tutorial, you will learn how to remove duplicate items from a list in Python using the set data structure. Want to learn more? See our courses here https://goo.gl/RZ7jGc.
Read the documentation for lists here: https://docs.python.org/3/library/std...
Read the documentation for sets here: https://docs.python.org/3/library/std...
Code from video:
*****************
company = ['michael', 'eric', 'michael']
set(company)
list(set(company))
Connect with us!
*****************
/ enthought
/ enthought
/ enthought
On this page of the site you can watch the video online How to remove duplicate items from a list in Python with a duration of hours minute second in good quality, which was uploaded by the user Enthought 18 May 2018, share the link with friends and acquaintances, this video has already been watched 20,632 times on youtube and it was liked by 97 viewers. Enjoy your viewing!