0

Why isn't q equal to b as the formula for modulo is: a % b = a - (a/b)*b ?

x = (int(time.time())*100)
q = x % 360
b = x - (x/360)*360
print(x)
print(q)
print(b)
Paul.0416
  • 3
  • 3

0 Answers0