Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

what is repr function in python

#The repr() function returns a printable representation of the given object.
Upvote = "Do make an upvote click on the top right corner button."
>>> print(Upvote)
>>> 'Do make an upvote click on the top right corner button.'

>>> print(repr(Upvote))
>>>"'Do make an upvote click on the top right corner button.'"
Source by www.programiz.com #
 
PREVIOUS NEXT
Tagged: #repr #function #python
ADD COMMENT
Topic
Name
9+9 =