# Python Program to Find the Volume and Surface Area of cylinder.

Structure of Python Program - Overview

- 12-03-2018
- 610

```
Radius = input("Enter Radius of Cylinder :")
Height = input("\nEnter Height of Cylinder :")
PI = 3.14
Volume = PI * Radius * Radius * Height
Surface_Area = 2 * PI * Radius * (Radius + Height)
print "\n\nVolume of Cylinder is :" , Volume
print "Surface Area of Cylinder is :" , Surface_Area
```

**Output :**

Enter Radius of Cylinder : 10

Enter Height of Cylinder : 20

Volume of Cylinder is : 6280 .0

Surface Area of Cylinder is : 1884.0

**Description :**

Volume of cylinder can be calculated as

Volume = Π x R ^{2} x H

Π = 3.14 (GREEK CAPITAL LETTER PI)

R = Radius of Sphere

H = Height of Cylinder

Surface Area of sphere can be calculated as :

Area = = 2 x Π x R x (R+ H)

No Comments