---
title: "Discussion on \"How does return() in Python work?\" | Hashnode"
description: "Discussion on \"How does return() in Python work?\". In order to get a value from a function in any programming language, we use the return() statement. Likewise, in Python, the return() statement is used to exit a function and returns a value from a function. In this tutorial, we will read about vario..."
url: "https://hashnode.com/posts/how-does-return-in-python-work/62625da6d82f4558aff87028"
---

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

Discussion

# [How does return() in Python work?](https://shorttechtutorials.hashnode.dev/how-does-return-in-python-work?utm_source=hashnode&utm_medium=feed)

In order to get a value from a function in any programming language, we use the return() statement. Likewise, in Python, the return() statement is used to exit a function and returns a value from a function. In this tutorial, we will read about vario...

Apr 22, 2022 · 3 min read · shorttechtutorials.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#python3](https://hashnode.com/tag/python3)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#tutorial](https://hashnode.com/tag/tutorial)

## Written by

[Short Tech Tutorials](https://hashnode.com/@shorttutorials)

@shorttutorials

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

An initiative at Flexiple, to write short curated tutorials around often used or interesting concepts.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
