Category Archives: Python

str() vs repr() in Python

str() and repr() both are used to get a string representation of object. Example of str(): Output: Hello, Geeks. 0.181818181818 . Example of repr(): Output:… Read More »