>>> int('12.34')
Traceback (most recent call last):
File "<pyshell#2>", line 1, in <module>
int('12.34')
ValueError: invalid literal for int() with base 10: '12.34'
>>> int(float('11.23'))
11
Traceback (most recent call last):
File "<pyshell#2>", line 1, in <module>
int('12.34')
ValueError: invalid literal for int() with base 10: '12.34'
>>> int(float('11.23'))
11