write a menu driven prgram to calculate : Area of a circle p*r*r where p = 22/7 using string
Answers
Answered by
0
Hii there !!
In python 3 the above program can be represented as :-
# square root finding program in python 3
print("area of circle finder !\n")
R = eval(input("Please enter the radius of the circle : "))
PI = 22 / 7
print(f"\n Entered radius = {R}")
print(f"\nArea of cicrle = {PI * R ** R}")
Similar questions
Social Sciences,
3 months ago
Math,
3 months ago
Math,
3 months ago
Physics,
7 months ago
English,
10 months ago