int: convert a value to integer.
int(x[, base]) interprets its argument as an integer.
If x is an int, the result is x.
If x is a float, the result is the integer value nearest to x,
truncating towards zero; it is an error if x is not finite (NaN,
+Inf, -Inf).
If x is a bool, the result is 0 for False or 1 for True.
If x is a string, it is interpreted like a string literal;
an optional base prefix (0, 0b, 0B, 0x, 0X) determines which
base to use. The string may specify an arbitrarily large integer,
whereas true integer literals are restricted to 64 bits.
If a non-zero base argument is provided, the string is interpreted
in that base and no base prefix is permitted; the base argument may
specified by name.
int() with no arguments returns 0.

