Explanation:
Importing the math module:
This module provides the value of pi which we need for our area calculation.
Defining a function:
Functions encapsulate reusable logic. Here, calculate_circle_area takes a radius and calculates the area.
User input:
input() captures what the user types, and we convert this to a float to handle decimal numbers.
Formula application:
The formula π * r^2 is directly applied using math.pi and the exponent operator **.
Formatted output:
The print statement uses an f-string for neat output, limiting the area to two decimal places.