fork download
  1. # your code goes hprint(-1)
  2. print(0)
  3. print(1) # int
  4. print(1.1) # float
  5.  
  6. print('1+1', 1+1)
  7. print('2-1', 2-1)
  8. print('2*2', 2*2)
  9. print('4/2', 4/2)
  10.  
  11. import math
  12. print('math.sqrt(4)', math.sqrt(4))
  13. print('math.pow(4,2)', math.pow(4,2))
  14.  
  15. import random
  16. print('random.random()',random.random())
Success #stdin #stdout 0.1s 14284KB
stdin
Standard input is empty
stdout
0
1
1.1
1+1 2
2-1 1
2*2 4
4/2 2.0
math.sqrt(4) 2.0
math.pow(4,2) 16.0
random.random() 0.5054852767301736