Question: 12 Write a Python code to calculate the area of Square and Parallelogram. a Square Area a2 length of side a = Parallelogram Area =
12 Write a Python code to calculate the area of Square and Parallelogram. a Square Area a2 length of side a = Parallelogram Area = b xh b = base h = vertical height The figure below shows a sample run of the program, Enter the length of a side of Squre: 4 Enter the Parallelogram base: 5 Enter the Parallelogram height: 6 Squre area is 16.0 Parallelogram area is 30.0 TTT Arial 3(1200 T.SE 77 FB 4+ X F5 F4 F3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
