Write a function to return the volume of a cylinder


Topic: Write a function to return the volume of a cylinder

Solution

def cal_cylinder_volume(height, radius):
    pi=3.14
    return pi*(radius**2)*height



List all Python Programs