1.

What is the difference between repr and str in Python?

Answer»
Repr()STR()
It is unambiguousIt is readable
It can be implemented for any classImplement in CASE of the string version
Used to compute officialUsed to compute informally
It displays objectDisplays string REPRESENTATIONS


Discussion

No Comment Found