Question 1 of 7
Which built-in function uses an object's __repr__() method?
The repr() built-in asks the object for its official representation, which a class can customize with __repr__().
Review this lesson
Check your understanding of Python special methods and how built-in operations and formatting customize objects.
Knowledge check
Check your understanding of Python special methods and how built-in operations and formatting customize objects.
You can retake this quiz whenever you like.
Question 1 of 7
Question 2 of 7
Question 3 of 7
Question 4 of 7
Question 5 of 7
Question 6 of 7
Question 7 of 7