9. Data type conversion

Expressions can be converted from one data type to another by means of the functions bool(), int(), float(), str(). Example:

(a=int(4.2**3))

assigns the int value 74 to the variable "a".