write a program to find area and perimeter of rectangle whose length and dreadth I s entered by a user
Answers
Answered by
6
Answer:
l=input('enter length :')
print("You have entered length :",l)
b=input('enter breadth :')
print('You have entered breadth :',b)
l1=int(l)
b1=int(b)
area=(l1*b1)
peri=(2*l1+2*b1)
print('area :',area)
print('perimeter :',peri)
Similar questions
Social Sciences,
3 months ago
Social Sciences,
3 months ago
Geography,
7 months ago
Science,
7 months ago
Geography,
1 year ago
Geography,
1 year ago
Geography,
1 year ago