fork download
  1. # Python Assignment Operator
  2. a=int(input())
  3. b=int(input())
  4. a+=b
  5. print(a)
  6. a-=b
  7. print(a)
  8. a*=b
  9. print(a)
  10. a/=b
  11. print(a)
  12. a//=b
  13. print(a)
  14. a**=b
  15. print(a)
Success #stdin #stdout 0.02s 9544KB
stdin
2
2
stdout
4
2
4
2.0
1.0
1.0