Guest User

Untitled

a guest
Dec 6th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. a = 1
  2. b = 2
  3. c = 3
  4. my_sum = a+b
  5. another_sum = 5+10
  6. print(my_sum)
  7.  
  8. """
  9. letters number and underscore
  10. cannot start with numbers
  11. """
  12.  
  13. math_operator = 1 + 3 * 4 / 2 - 2
  14. print(math_operator)
  15.  
  16. float_division = 12/3
  17. print(float_division)
  18.  
  19. integer_division = 12//3
  20. print(integer_division)
  21.  
  22. division_with_remider = 12//5
  23. print(division_with_remider)
  24.  
  25. remider = 12%5
  26. print(remider)
  27.  
  28. x = 37
  29. reminder = x % 2
  30. print(reminder)
Add Comment
Please, Sign In to add comment