結果 : write a python program to calculate the area of rectangle and triangle