Computer Science, asked by shrutiarya042006, 11 days ago

Write a program to input length and breadth of a rectangle and find out its area and perimeter.
PYTHON CLASS 9​

Answers

Answered by itzstylishbandi
1

Please, refer to the above attachment!!!

Attachments:
Answered by ajith1987aug
0
# Python Program to find Perimeter of a Rectangle using length and width

length = float(input('Please Enter the Length of a Triangle: '))
width = float(input('Please Enter the Width of a Triangle: '))

# calculate the perimeter
perimeter = 2 * (length + width)

print("Perimeter of a Rectangle using", length, "and", width, " = ", perimeter)
Similar questions