a cone of height 9 cm with diameter of its base 18 cm is carved out from a wooden solid sphere of radius 9 cm . the percentage of the wood wasted is :
import math
n0 = 9.0
n1 = 18.0
n2 = 9.0
t0 = math.pi * n0**2 * n0 / 3
t1 = 4 / 3 * math.pi * n0**3
t2 = t1 - t0
t3 = t2 / t1
answer = t3 * 100.0
print(answer)