how many cones of radius 4 m , height 2 m can be formed from a cylinder of 12 m radius , 10 m height :
import math
n0 = 4.0
n1 = 2.0
n2 = 12.0
n3 = 10.0
t0 = math.pi * n0**2 * n1 / 3
t1 = math.pi * n2**2 * n3
answer = t1 / t0
print(answer)