Python program to calculate the area of a triangle