26.0k views
0 votes
Write a program to input the length and width of a rectangle and calculate and print the perimeter and area of the rectangle.

User Chase CB
by
7.1k points

1 Answer

1 vote


\tt L=(float(input(


\tt B=(float(input(


\tt P=2*(L+B)


\tt A=L*B


\tt print(


\tt print(

User Timkly
by
7.3k points