Write a Python function to find volume of the Pentagonal Prism


Topic: Write a Python function to find volume of the Pentagonal Prism

Solution

def volume(b, h): 
    return (5 * b * h) / 2
a = 5
b = 3
h = 7
print("volume =", volume(b, h)) 



List all Python Programs