Input and Output : Repr : Buildin Function PYTHON examples


PYTHON examples » Buildin Function » Repr »

 

Input and Output


Input and Output: repr(): generate representations which can be read by the interpreter


#For objects which don't have a particular representation for human consumption, 
#str() will return the same value as repr()


s = 'Hello, world.'

print repr(s)

           
       



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo Buildin Function
» Repr