on average , machine a will produce a completed item once every 4 minutes , and machine b will produce a completed item once every 5 minutes . the number of items machine a produces in a 24 - hour period is approximately what percent greater than the number of items machine b would produce in that same period ?
n0 = 4.0
n1 = 5.0
n2 = 24.0
t0 = 60.0 / n0
t1 = 60.0 / n1
t2 = n2 * t0
t3 = n2 * t1
t4 = t2 / t3
t5 = t4 * 100.0
answer = t5 - 100.0
print(answer)