diff --git a/app.py b/app.py new file mode 100644 index 0000000..e11900b --- /dev/null +++ b/app.py @@ -0,0 +1,9 @@ +import math + +def calculate_circle_area(radius): + """Calculate the area of a circle given its radius.""" + return math.pi * radius ** 2 + +# Get input from the user +print("Welcome to the Circle Area Calculator!") +radius = float(input("Enter the radius of the circle: "))