Computer Science, asked by achsahmajay76, 8 months ago

pls friends can U answer ‘Write a Python program to obtain the radius of a circle from the user and then calculate & display the circumference.’

Answers

Answered by ashauthiras
12

Answer:

Write a Python program which accepts the radius of a circle from the user and compute the area.

Python: Area of a Circle

In geometry, the area enclosed by a circle of radius r is πr2. Here the Greek letter π represents a constant, approximately equal to 3.14159, which is equal to the ratio of the circumference of any circle to its diameter.

Python Code:

from math import pi

r = float(input ("Input the radius of the circle : "))

print ("The area of the circle with radius " + str(r) + " is: " + str(pi * r**2))

Answered by Anonymous
5

Answer:

Here is ur answer

Hope the answer is correct⌐╦╦═─

Attachments:
Similar questions