fork download
  1. import math
  2.  
  3. value = 87
  4.  
  5. sqrt = int(math.sqrt(value))
  6. remainder = value - (sqrt * sqrt)
  7.  
  8. print(sqrt, remainder)
  9.  
Success #stdin #stdout 0.03s 27696KB
stdin
Standard input is empty
stdout
9 6