how many numbers from 10 to 50 are exactly divisible by 3 .
import math
n0 = 10.0
n1 = 50.0
n2 = 3.0
t0 = n1 / n2
t1 = n0 / n2
t2 = math.floor(t0)
t3 = math.floor(t1)
t4 = t3 + 1.0
t5 = n2 * t2
t6 = n2 * t4
t7 = t5 - t6
t8 = t7 / n2
answer = t8 + 1.0
print(answer)