a = 1.23print(type(a))b = int(a)print(type(b))
Standard input is empty
<class 'float'> <class 'int'>
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!