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