area of a triangle in python