結果 : write a program to compute area of square and triangle python