Write a Python function To Calculate Total Surface Area of Cylinder


Topic: Write a Python function To Calculate Total Surface Area of Cylinder

Solution

def totalsurfacearea(r, h): 
    tsurf_ar = (2 * pi * r * h) + (2 * pi * r * r) 
    return tsurf_ar 
r = 5
h = 8
print("Total Surface Area Of Cylinder = ",totalsurfacearea(r,h)) 



List all Python Programs