How to convert integer to string in Python

We can use str function to convert a number to string type in Python.

>>> num = 10
>>> print "number is: " % num
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
TypeError: not all arguments converted during string formatting
>>> print "number is: " + str(num)
number is: 10

,