Question: python Write an interactive program that computes the area of a rectangle (area= base * height) or a triangle (area=0.5 * base * height) after
Write an interactive program that computes the area of a rectangle (area= base * height) or a triangle (area=0.5 * base * height) after prompting the user to type the first character of the figure name (R or T). Your program must display an error message to indicate that the user entered a character other than R or T
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
