# Convert float to int print(type(10200.58)) print(type(int(10200.58)))
<class 'float'> <class 'int'>
# Convert string to int. String must be integer string print(type('5')) print(type(int('5')))
<class 'str'> <class 'int'>
# Convert int to bool print(type(1)) print(type(bool(1)))
<class 'int'> <class 'bool'>