---
title: "Discussion on \"Understanding The Difference between 'repr()', 'str()' And 'print()' Functions In Python\" | Hashnode"
description: "Discussion on \"Understanding The Difference between 'repr()', 'str()' And 'print()' Functions In Python\". When it comes to representing and showing data, Python's repr(), str(), and print() functions have diverse roles. Let's break down each one.\n\n'repr()'\n\nThe built-in function'repr()' in Python returns a string representation of an object. Its goal is ..."
url: "https://hashnode.com/posts/understanding-the-difference-between-repr-str-and-print-functions-in-python/65c3d950b0b08d541db3c77b"
---

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

Discussion

# [Understanding The Difference between 'repr()', 'str()' And 'print()' Functions In Python](https://nitishs.hashnode.dev/understanding-the-difference-between-repr-str-and-print-functions-in-python?utm_source=hashnode&utm_medium=feed)

When it comes to representing and showing data, Python's repr(), str(), and print() functions have diverse roles. Let's break down each one. 'repr()' The built-in function'repr()' in Python returns a string representation of an object. Its goal is ...

Feb 7, 2024 · 2 min read · nitishs.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#wemakedevs](https://hashnode.com/tag/wemakedevs)
-   [#python-beginner](https://hashnode.com/tag/python-beginner)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#technology](https://hashnode.com/tag/technology)

## Written by

[Nitish Srinivasa](https://hashnode.com/@nitishs)

@nitishs · Bangalore, India

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

Learning about tech everyday

## Responses 1

Markdown supported · ⌘↵ to post

[Harsh Gupta](https://hashnode.com/@imharsh756)

[Jun 2, 2025](https://hashnode.com/posts/understanding-the-difference-between-repr-str-and-print-functions-in-python/65c3d950b0b08d541db3c77b/comment/683d594a0a31911a7a45171f)

Helpful !!
