---
title: "Discussion on \"How to delete duplicates from a list in Python\" | Hashnode"
description: "Discussion on \"How to delete duplicates from a list in Python\". In this post, we will discuss how to remove duplicates from a list in Python. \nThere are many ways to delete duplicates from a list, but I find these two methods easy and readable. \n\nUsing sets\nUsing fromkeys method of dict \n\nPlease take a look the e..."
url: "https://hashnode.com/posts/how-to-delete-duplicates-from-a-list-in-python/61e26ebfd546507ab0343e9a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to delete duplicates from a list in Python](https://afiz.hashnode.dev/how-to-delete-duplicates-from-a-list-in-python?utm_source=hashnode&utm_medium=feed)

In this post, we will discuss how to remove duplicates from a list in Python. There are many ways to delete duplicates from a list, but I find these two methods easy and readable. Using sets Using fromkeys method of dict Please take a look the e...

Jan 15, 2022 · 1 min read · afiz.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#data-science](https://hashnode.com/tag/data-science)
-   [#python-beginner](https://hashnode.com/tag/python-beginner)

## Written by

[Afiz](https://hashnode.com/@afiz)

@afiz

  
[View profile](https://hashnode.com/@afiz)

Senior Software Engineer from India.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
