---
title: "Discussion on \"Tuples and Sets\" | Hashnode"
description: "Discussion on \"Tuples and Sets\". Tuples\nTuples are in-built data structures in Python that are similar to lists, except that tuples are immutable (i.e., contents cannot be changed).\n\nCreating a Tuple\n# empty tuple\nt = ()\n\n# tuple with single item\nt = ('hello',)\n\n# Homogeneous tuple\n..."
url: "https://hashnode.com/posts/tuples-and-sets/6560ad509b28e8a535931560"
---

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

Discussion

# [Tuples and Sets](https://mahamtariq58.hashnode.dev/tuples-and-sets?utm_source=hashnode&utm_medium=feed)

Tuples Tuples are in-built data structures in Python that are similar to lists, except that tuples are immutable (i.e., contents cannot be changed). Creating a Tuple # empty tuple t = () # tuple with single item t = ('hello',) # Homogeneous tuple ...

Nov 24, 2023 · 6 min read · mahamtariq58.hashnode.dev  
Read the article

-   [#set-comprehension](https://hashnode.com/tag/set-comprehension)
-   [#tuple-unpacking](https://hashnode.com/tag/tuple-unpacking)
-   [#tuples](https://hashnode.com/tag/tuples)
-   [#sets](https://hashnode.com/tag/sets)
-   [#tuple-methods](https://hashnode.com/tag/tuple-methods)
-   [#set-operations-and-methods-in-python-programming](https://hashnode.com/tag/set-operations-and-methods-in-python-programming)

## Written by

[maham tariq](https://hashnode.com/@MahamTariq)

@MahamTariq

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
