area of the sector of a circle formula code example Example: area of a circle def circle(radius): return radius * math.pi * 2