Write a function to return the volume of a hemi sphere


Topic: Write a function to return the volume of a hemi sphere

Solution

def cal_hemisphere_volume(radius:float)->float:
    pi=3.14
    return (2/3)*pi*(radius**3)



List all Python Programs