---
title: "Discussion on \"Diff btw repr() and str() in python\" | Hashnode"
description: "Discussion on \"Diff btw repr() and str() in python\". The repr() Function in Python\nrepr() is a built-in function in Python that returns a string representation of an object. This representation is often called the \"official\" string representation because it's intended to be unambiguous and precise, sui..."
url: "https://hashnode.com/posts/diff-btw-repr-and-str-in-python/66bb02b4eb9298aee9b7cdf6"
---

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

Discussion

# [Diff btw repr() and str() in python](https://devwithshubham.hashnode.dev/diff-btw-repr-and-str-in-python?utm_source=hashnode&utm_medium=feed)

The repr() Function in Python repr() is a built-in function in Python that returns a string representation of an object. This representation is often called the "official" string representation because it's intended to be unambiguous and precise, sui...

Aug 13, 2024 · 2 min read · devwithshubham.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#ai](https://hashnode.com/tag/ai)
-   [#learning](https://hashnode.com/tag/learning)
-   [#ml](https://hashnode.com/tag/ml)
-   [#programming](https://hashnode.com/tag/programming)
-   [#github](https://hashnode.com/tag/github)

## Written by

[Shubham Jaiswal](https://hashnode.com/@Shubhujazz)

@Shubhujazz

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

Currently system engineer in tcs

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
