Advertisement
FixItAli

Integer Division and Modulus

May 22nd, 2019
512
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. a = 12
  2. b = 9
  3. c = 12
  4. d = 9
  5.  
  6. [●int( a / b )
  7. ●int( b / a )
  8. ●a % b
  9. ●int( a / c )
  10. ●int( c / a )
  11. ●a % c
  12. ●c % a
  13. ●int( d / c )
  14. ●d % c]
  15.  
  16. z = int(a / b)
  17.  
  18. print(z)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement