Removing duplicates in lists

0 votes

How do I get a new list without duplicates?

[1, 2, 3, 1]  →  [1, 2, 3]

How do I get a new list where items that are duplicated are entirely removed?

[1, 2, 3, 1]  →  [2, 3]

May 2, 2022 in Python by Edureka
• 12,690 points

edited Mar 4 87 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP