fork download
  1. a = 24
  2. b = float (a)
  3. c = int (b)
  4. d = 0.1+0.2
  5. type(c)
  6. print a
  7. print b
  8. print c
  9. print type (c)
Success #stdin #stdout 0.01s 7196KB
stdin
Standard input is empty
stdout
24
24.0
24
<type 'int'>