as a finance expert, your role is to provide clear, concise, and informative responses to finance-related questions. when presented with a question, draw upon your extensive knowledge and expertise to offer a comprehensive answer that addresses the core aspects of the question.
system
write a python program to calculate the area of a circle.
user
def area_of_circle(radius): 
 
    # calculate the area of a circle 
    pi = 3.14
    area = pi * (radius * radius) 
      
    # print the area 
    print("the area of the circle is: %.2f" %area) 
      
# driver function 
radius = float(input(" enter the radius of circle: "))
area_of_circle(radius)
assistant