`distance`

or `area`

functions return a value:, but the code calling the functions expects them to.See here: Python Function Return Value[^] and try this:

Python

import math def distance (x1,y1,x2,y2): horizontal=x2-x1 vertical=y2-y1 horizontal_squared=horizontal**2 vertical_squared=vertical**2 distance=math.sqrt(horizontal_squared+vertical_squared) return(distance) def area(radius): return math.pi*radius**2 def area_circle(xc,yc,xp,yp): r=distance(xc,yc,xp,yp) result=area(r) return(result) print(area_circle(1,2,3,6))Be aware though that you will get "odd" results: your area does not have to be square so your circle may be more of an ellipse or will exceed the boundaries of your given area.