3. Write the functions that calculate the area of rectangle, square and triangle for a program. The program will prompt users to enter the height, width, and base value into the system and display the...


please help with this python practice problem, as i am a beginner in python. Thorough explanation would be appreaciated


3. Write the functions that calculate the area of rectangle, square and triangle for a program.<br>The program will prompt users to enter the height, width, and base value into the system and<br>display the area of each shape based on the given inputs on the screen. Unit is in meter. The<br>formulas for the areas are:<br>Rectangular = height * width<br>Square =height * height<br>Triangle = ½ * base * height<br>Sample Output:<br>Insert Height Value: 4<br>Insert Witdh Value: 5<br>Insert Base value: 3<br>Area of Rectangle = 20.0 square meters<br>Area of Square<br>Area of Triangle = 6.0 square meters<br>= 16.0 square meters<br>

Extracted text: 3. Write the functions that calculate the area of rectangle, square and triangle for a program. The program will prompt users to enter the height, width, and base value into the system and display the area of each shape based on the given inputs on the screen. Unit is in meter. The formulas for the areas are: Rectangular = height * width Square =height * height Triangle = ½ * base * height Sample Output: Insert Height Value: 4 Insert Witdh Value: 5 Insert Base value: 3 Area of Rectangle = 20.0 square meters Area of Square Area of Triangle = 6.0 square meters = 16.0 square meters

Jun 01, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here