Type conversions

int('7') + 3 = 10

You can also choose a level by clicking its number.

About the course

Description
The int, float, str and round functions – int cuts off the decimal part, round rounds (x.5 to the even number)
More information
Short programs in Python – what they calculate and what they print.
Sample question
int('7') + 3 = 10
Author
Jiří Preisler
Version
1.0