Area of Parallelogram in Python

 # Area of Parallelogram

base=float(input("Enter Base of Parallelogram : "))
height=float(input("Enter Height of Parallelogram :"))
area=base*height
print("Area of Parallelogram : ",area)


Output :

Enter Base of Parallelogram : 5 Enter Height of Parallelogram :12 Area of Parallelogram : 60.0



0 comments:

Post a Comment

gurnoorsingh5974@gmail.com

Count Upper Case and Lower Case Word in a string (Python)

  Count Upper Case and Lower Case Word in a string     (Python) def string_test(s):     d={"UPPER_CASE":0, "LOWER_CASE":...