Skip to content

How to get the remainder in Python?

a = 10
b = 3

c = a % b
print(c) # Prints 1
See also  CSS code snippet - How to frame a picture with color ?

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.