def rect_area (length, width):
return length * width
def square_area(length):
return length * length
# this is a python comment
def circle_area ( radius ):
return 3.14159 * (radius * radius)
def ring_area (outer_radius, inner_radius):
return circle_area(outer_radius) - circle_area(inner_radius)