What is the built-in function repr() for?

Questions & AnswersCategory: PythonWhat is the built-in function repr() for?
Geek Boy Staff asked 2 years ago

What is the built-in function repr() for?

a. Returns the formal representation of an object as a string.

b. Executes the Python code passed as a string.

c. Returns an informal representation of an object as a string.

d. There is no built-in repr() function in Python.