novice: Copy-paste from origin/master
[swc-modular-python.git] / novice / python / rectangle.py
1 def rectangle_area(coords):
2     x0, y0, x1, y1 = coords
3     return (x1 - x0) * (x1 - y0)