Question: 1 Aim 1. Write a Python program to read the length and breadth of 1 rectangle. Calculate the area of the rectangle as: length *
1 Aim 1. Write a Python program to read the length and breadth of 1 rectangle. Calculate the area of the rectangle as: length * breadth If the area is less than 60sq.m and breath is less than 10, print 'Small rectangle If the area is between 60sq.m and 500 sq.m, and length is more than 20, then print 'Long Rectangle. Else print 'Normal 2. Write a Python program to accept 2 numbers. If both the numbers are even, calculate the square of number 1 using pow() method and cube of number 2 using exponent operator. If both the numbers are odd, calculate their product. If any one number is even, calculate their difference
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
