Surface Area And Volume of Cylinder || Python
In this we are going to see a basic program to find Surface Area and Volume of Cylinder using math module in Python Programming Language.

import math

cl_radius = 4
cl_height = 7

surface_area = 2*math.pi*pow(cl_radius, 2)*cl_height
vol = math.pi*pow(cl_radius, 2)*cl_height

print("The surface area of a given cylinder =", surface_area,"square units")
print("The volume of a given cylinder =", vol,"cubic units")

# Coded By Dhiraj Shelke

#ENJOY CODING


Post a Comment

FOR ANY DOUBTS AND ERRORS FEEL FREE TO ASK. YOUR DOUBTS WILL BE ADDRESSED ASAP

Previous Post Next Post