---
title: "Discussion on \"Generator Functions in Python\" | Hashnode"
description: "Discussion on \"Generator Functions in Python\". What are Generators?\nIn Python, a generator is a special type of function that returns a generator object which is an iterator. A generator produces values one at a time, pausing until the next value"
url: "https://hashnode.com/posts/generator-functions-in-python/69f4c0c0ec32cba9e52e865d"
---

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

Discussion

# [Generator Functions in Python](https://rshaurya.hashnode.dev/generator-functions-in-python?utm_source=hashnode&utm_medium=feed)

What are Generators? In Python, a generator is a special type of function that returns a generator object which is an iterator. A generator produces values one at a time, pausing until the next value

May 1 · 4 min read · rshaurya.hashnode.dev  
Read the article

## Written by

[Shaurya Pethe](https://hashnode.com/@rshaurya)

@rshaurya

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

1st year student @ VIT Bhopal, CSE with AI/ML | Passionate to explore new technologies and contribute

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
