Showing posts with label area of a circle in python version 2. Show all posts
Showing posts with label area of a circle in python version 2. Show all posts

Friday, December 18, 2015

Area of a Circle Solver in Python Version 2

A second version of my program in Python to solve the area of a circle based on the given radius by the user.

If you  have some questions please send me an email at jake.r.pomperada@gmail.com and jakerpomperada@yahoo.com

My mobile number here in the Philippines is 09173084360.




Sample Program Output


Program Listing

import math

print('\n')
print('\t Area of the Circle Solver')
print('\n')
radius = input('Enter the radius of the circle: ')

area= (radius**2) * math.pi
print('\n')
print('The radius of the circle is {0}.'.format(radius))
print('The area of the circle is {0}. '.format(round(area,2)))
print('\n')
print('Thank you for using this program')