fork download
  1. print type(3 + 2)
  2. print type(3 + 2.0)
  3. print type(float(3) + 2)
  4. print type(float(3) + 2.0)
  5. print type(24 + True)
  6. print type(24 and True)
  7. print type(12 / 5)
  8. print type(12.0 / 5)
  9. print type(12 / 5.0)
  10. print type(True + True)
  11. print type(2/3 == 4 ** 2)
  12. print type(3 > 5 + 4)
Success #stdin #stdout 0.01s 7896KB
stdin
Standard input is empty
stdout
<type 'int'>
<type 'float'>
<type 'float'>
<type 'float'>
<type 'int'>
<type 'bool'>
<type 'int'>
<type 'float'>
<type 'float'>
<type 'int'>
<type 'bool'>
<type 'bool'>