str() and repr() : Str : Buildin Function PYTHON TUTORIALS


PYTHON TUTORIALS » Buildin Function » Str »

 

str() and repr()


# The str() and repr(): convert to their string representations.

print str(4.53-2j)
print str(1)
print str(2e10)
print str([0599])
print repr([0599])



Leave a Comment / Note


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


PYTHON TUTORIALS

 Navioo Buildin Function
» Str