Python program to calculate area of sphere

    
        import math  # Import the math module for the value of pi

        # Get user input for the radius
        radius = float(input("Enter the radius of the sphere: "))

        # Calculate the area of the sphere (4/3) * pi * radius**3
        area = (4/3) * math.pi * radius**3

        # Print the result with an inline comment
        print(f"The area of the sphere with radius {radius} is: {area:.2f}")
    
Output:
    
        Enter the radius of the sphere: 5
        The area of the sphere with radius 5.0 is: 523.60