a = 24b = float (a)c = int (b)d = 0.1+0.2type(c)print aprint bprint cprint type (c)
Standard input is empty
24 24.0 24 <type 'int'>
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!