Write a function to return the volume of a cone
Topic: Write a function to return the volume of a cone
Solution
def cal_cone_volume(height,radius): pi=3.14 return pi*(radius**2)*height/3
List all Python Programs
Solution
def cal_cone_volume(height,radius): pi=3.14 return pi*(radius**2)*height/3