Write a Python function to find surface area of the Pentagonal Prism


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

Solution

def surfaceArea(a, b, h): 
    return 5 * a * b + 5 * b * h 
a = 5
b = 3
h = 7
print("surface area =", surfaceArea(a, b, h))



List all Python Programs