Write a Python program which accepts the radius of a circle from the user and compute the area.
Sample Output :
r = 2.1
Area = 13.854423602330987
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))