# Write a function that gets the radius of a circle, # and displays and returns # the approximation of the circle's area. # Use 3.14 as the value for pi. def compute_area(radius): pi = 3.14 if radius < 0: return "radius cannot be negative" area = pi * (radius ** 2) print("area of a circle with radius", radius, "is", area) return area # consider # 1. where the functions are defined # 2. where the functions are called # 3. flow of the function calls