Python program to calculate area of circle

    
        import math

        # Get the radius from the user
        radius = float(input("Enter the radius of the circle: "))

        # Calculate the area of the circle using the formula: A = π * r^2
        area = math.pi * radius**2

        # Print the result
        print(f"The area of the circle with radius {radius} is: {area}")
    
Output:
    
        Enter the radius of the circle: 5
        The area of the circle with radius 5.0 is: 78.53981633974483