---
title: "Discussion on \"Understand Python sets\" | Hashnode"
description: "Discussion on \"Understand Python sets\". ◽️ A set is a collection which is both unordered and unindexed.\n◽️ Once created, you cannot change its items, but you can add new items.\n◽️ 2 items cannot have same value.\n◽️ Items can be of any data type.\nHow to create sets ?\n◽️ Using the set() cons..."
url: "https://hashnode.com/posts/understand-python-sets/603a112d0dad7e6b99e1f684"
---

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

Discussion

# [Understand Python sets](https://tanmayrauth.hashnode.dev/understand-python-sets?utm_source=hashnode&utm_medium=feed)

◽️ A set is a collection which is both unordered and unindexed. ◽️ Once created, you cannot change its items, but you can add new items. ◽️ 2 items cannot have same value. ◽️ Items can be of any data type. How to create sets ? ◽️ Using the set() cons...

Feb 27, 2021 · 3 min read · tanmayrauth.hashnode.dev  
Read the article

-   [#machine-learning](https://hashnode.com/tag/machine-learning)
-   [#python](https://hashnode.com/tag/python)

## Written by

[Tanmay Rauth](https://hashnode.com/@tanmayrauth)

@tanmayrauth

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

Love building ML Products

## Responses 1

Markdown supported · ⌘↵ to post

[Pierre de Fermat](https://hashnode.com/@ThePierre)

[Feb 28, 2021](https://hashnode.com/posts/understand-python-sets/603a112d0dad7e6b99e1f684/comment/603bf7a40dad7e6b99e21a2c)

I find It really useful, well done, please keep up the good work!

[Tanmay Rauth](https://hashnode.com/@tanmayrauth)

[Mar 13, 2021](https://hashnode.com/posts/understand-python-sets/603a112d0dad7e6b99e1f684/comment/603bf7a40dad7e6b99e21a2c#reply-604cbb6249698807cc47f2e1)

I appreciate it !!!
