Guest User

Untitled

a guest
Feb 22nd, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. # Addition
  2. sum = 4+2
  3. print(sum)
  4.  
  5. # Subtraction
  6. diff = 6-5
  7. print(diff)
  8.  
  9. # Multiplication
  10. product = 7*45
  11. print(product)
  12.  
  13. # Division
  14. div = 50/6
  15. print(div)
  16.  
  17. # Remainder
  18. rem = 3%%8
  19. print(rem)
  20.  
  21. # Quotient.
  22. q = 5%/%3
  23. print(q)
  24.  
  25. # Power
  26. power = 5^3
  27. print(power)
Add Comment
Please, Sign In to add comment