Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python __repr__ meaning

>>>repr(y)
"'a string'"
>>>y2=eval(repr(y))
>>>y==y2
True
Source by www.pythonforbeginners.com #
 
PREVIOUS NEXT
Tagged: #python #meaning
ADD COMMENT
Topic
Name
1+4 =