int(), float(), str()

The functions in this section convert strings to numbers and vice versa.

In [4]: str(4)
Out[4]: '4'

In [5]: int("5")
Out[5]: 5

In [6]: float("5")
Out[6]: 5.0