---
title: "Discussion on \"Python: Generator Comprehension\" | Hashnode"
description: "Discussion on \"Python: Generator Comprehension\". Comprehensions come in many flavors. Using [ ] we get lists. Using { } we can make dictionaries or sets. You might think that ( ) will make a tuple. Instead, you'll get a generator.\nA generator is an object that we can iterate through. But unlike a l..."
url: "https://hashnode.com/posts/python-generator-comprehension/63462176371493a162ee06e8"
---

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

Discussion

# [Python: Generator Comprehension](https://tongere.hashnode.dev/python-generator-comprehension?utm_source=hashnode&utm_medium=feed)

Comprehensions come in many flavors. Using \[ \] we get lists. Using { } we can make dictionaries or sets. You might think that ( ) will make a tuple. Instead, you'll get a generator. A generator is an object that we can iterate through. But unlike a l...

Oct 12, 2022 · 5 min read · tongere.hashnode.dev  
Read the article

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

## Written by

[Russ Eby](https://hashnode.com/@RussEby)

@RussEby · Bloomington, MN

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

Data Analyst

I've always considered myself a coder and mixer my business knowledge and coder put me in a role of data analyst. I'm living in Minnesota. But my job is remote. Currently working for a company based out of Denmark, which means I have some screwy hours. You can also find me at https://hachyderm.io/web/@RussEby Search for @RussEby@hachyderm.io if you aren't on the same server.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
