1.

What is the use of repr function in Python?

Answer»

This function returns to a PRINTABLE PRESENTATION for the GIVEN object. It takes a single object & its syntax is repr(OBJ). The function repr computes all the FORMAL string representation for the given object in Python.



Discussion

No Comment Found