fork download
  1. n=int(input())
  2. n=0
  3. while n!=6:
  4. if n==1:
  5. a=int(input())
  6. b=int(input())
  7. c=b+a
  8. print(c)
  9. if n==2:
  10. a=int(input())
  11. b=int(input())
  12. c=b-a
  13. print(abs(c))
  14. if n==3:
  15. a=int(input())
  16. b=int(input())
  17. c=b*a
  18. print(c)
  19. if n==4:
  20. a=int(input())
  21. b=int(input())
  22. c=b/a
  23. print(abs(c))
  24. if n==5:
  25. a=int(input())
  26. b=int(input())
  27. c=b%a
  28. print(abs(c))
  29. n=n+1
  30.  
  31.  
Runtime error #stdin #stdout #stderr 0.02s 27704KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "./prog.py", line 1, in <module>
EOFError: EOF when reading a line