10 lines
480 B
Python
10 lines
480 B
Python
|
# A parallelogram is a quadrilateral with opposite sides parallel (and therefore opposite angles equal). A quadrilateral with equal sides is called a rhombus, and a parallelogram whose angles are all right angles is called a rectangle.
|
||
|
Test Data :
|
||
|
Length of base : 5
|
||
|
Height of parallelogram : 6
|
||
|
Expected Output: Area is : 30.0
|
||
|
|
||
|
base = float(input('Length of base: '))
|
||
|
height = float(input('Measurement of height: '))
|
||
|
area = base * height
|
||
|
print("Area is: ", area)
|