(r)
return (r[1][0] - r[0][0]) * (r[1][1] - r[0][1])
Return the area of rectangle <r>
Return the area of rectangle <r>
Return the area of rectangle <r >
def rectarea(r):
    """Return the area of rectangle <r>"""
    return (r[1][0] - r[0][0]) * (r[1][1] - r[0][1])
def rectarea ( r ) : return ( r [ 1 ] [ 0 ] - r [ 0 ] [ 0 ] ) * ( r [ 1 ] [ 1 ] - r [ 0 ] [ 1 ] )