Simple Intereste
(Principal*Rate*Time)
100
Note that:
Area of a circle= ir
Circumference of a circle = 2 ar
wherer is the radius of the circle and Te is 3.142.
ively and int
12. Write a program using variables to find the area and circumference of a circle whose radius is 12cm.
Answers
Answered by
5
12. Write a program using variables to find the area and circumference of a circle whose radius is 12cm.
from math import pi
def find_area(r):
return pi * (r * r)
r = float(input("enter radius: "))
print(f"area of circle is: {find_area(r):.2f}")
Similar questions