6. Practice Makes Perfect


#1

if n % 3 == 0:
print "n is divisible by 3"

3 divided by 3 is 1 not 0. What am I missing here? Does the % sign represent a remainder?


#2

Hi @ciderza

Yes, that is exactly what the % sign means, we call this operator modulo. The division sign looks like this: /. We learned about modulo in this exercise.