Programming Languages Python Mcq
Sep 30, 2025

What is the difference between __str__ and __repr__?

Choose the correct answer:
A) No difference
B) __str__ for end users, __repr__ for developers
C) __str__ is faster
D) __repr__ is deprecated
Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback