filmov
tv
Write the python program that accept radius of a circle and print its area.
Показать описание
Q.Write the python program that accept radius of a circle and print its area .
Website Link :-
Sumita Arora Class 11 computer science chapter Python fundamental type C Q 6
Answer :-
radius = int(input("enter the radius of circle = "))
area = 3.14 * radius**2
print("area of circle = ",area)
Output :-
Enter the radius of circle = 7
Area of circle = 153.86
Enter the radius of circle = 40
Area of circle = 5024.0
Website Link :-
Sumita Arora Class 11 computer science chapter Python fundamental type C Q 6
Answer :-
radius = int(input("enter the radius of circle = "))
area = 3.14 * radius**2
print("area of circle = ",area)
Output :-
Enter the radius of circle = 7
Area of circle = 153.86
Enter the radius of circle = 40
Area of circle = 5024.0