Rewrite the following Java program in Python to calculate the area of the triangle.
class Area { 
    double area(double b, double h) 
    { 
        return 0.5 * b * h; 
    } 
}
def area(b, h):
    return 0.5 * b * h