New course!
Every coder should learn
Generative AI!
Try a free lesson
Courses
Courses
Code Compiler
Code Compiler
Discuss
Get Pro
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
The different between __str__ and __repr__ on Python3
_repr__
3 Votes
3 Answers
13th Feb 2018, 9:50 AM
Fajar Kurniawan
Why is __str__ method not taking 2 params here.
code
magic-methods
python3
0 Votes
3 Answers
24th Jul 2021, 2:05 AM
Kavya
My code is throwing this TypeError: __str__ returned non-string (type NoneType), Please tell how to resolve!
python3
2 Votes
3 Answers
27th Dec 2018, 10:20 AM
Aakash Gupta
What is difference __repr__ and __str__?
__repr__
__str__
0 Votes
5 Answers
2nd Dec 2018, 8:20 AM
Владислав Борисов
What a noncense ?
__str__
class
magic-methods
python
str
0 Votes
4 Answers
10th Jun 2019, 7:00 PM
Магомед Акуев
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
Hello, please help me understand how to solve
2 Votes
post your python code here)
3 Votes
I want these three dots to jump inside that box..please help
1 Votes
Is Java getting left behind? Do questions get upvotes?
1 Votes
Help with homework
0 Votes
Anybody that can help me fix my pc - long story short I'm dumb and deleted necessary system software files
1 Votes
please help me emotionally
1 Votes
Why are not all the codes showing?
0 Votes
Time
2 Votes
Logical operator
1 Votes