Input and Output: str() function: return representations of values which are human-readable : str « Buildin Function « Python






Input and Output: str() function: return representations of values which are human-readable

Input and Output: str() function: return representations of values which are human-readable

s = 'Hello, world.'
print str(s)

           
       








Related examples in the same category

1.str Functionstr Function
2.Why Use str on a doc string?Why Use str on a doc string?
3.Used by print: user-friendly formUsed by print: user-friendly form