Good Day Everyone!

I feel that the lessons don’t provide enough explanations to comprehend the materials.

I am having difficulties to understand this topic.

# Prints 4 because 29 / 5 is 5 with a remainder of 4

print(29 % 5)

# Prints 2 because 32 / 3 is 10 with a remainder of 2

print(32 % 3)

# Modulo by 2 returns 0 for even numbers and 1 for odd numbers

# Prints 0

print(44 % 2)

Here, we use the modulo operator to find the remainder of division operations. We see that 29 % 5 equals 4, 32 % 3 equals 2, and 44 % 2 equals 0.

I see why 44 % 2 equals 0, but the other two don’t seem to be right.

29/5, i would think the remainder is 8

32/2 , I would think the remainder is 7