Write a program that prompts the user to input the radius of a circle and outputs the area and circumference of the circle. The formula is
Area = pi x radius2
Circumference = 2 x pi x radius

Source Code

radius = float(input("Enter the radius of the circle: "))
area = 3.14 * radius ** 2
circumference = 2 * 3.14 * radius
print("The area of the circle is:", area)
print("The circumference of the circle is:", circumference)

Output

Enter the radius of the circle: 6
The area of the circle is: 113.04
The circumference of the circle is: 37.68