#Write function circ that has two parameters: sides of rectangle, function #returns the circumference of the rectangle using the following formula: #circ=2*(side1+side2). Write function area that has two parameters: sides #of rectangle, function returns the area of rectangle using the following #formula: area=side1*side2. Write function called combine that has one #parameter - number of rectangles to process. The function will ask user #to enter sides of reactangle for each rectangle and print area and #circumference for each rectangle - use function circ and area to #calculate area and circumference. In addition, function returns the max #circumference and the max area. Write main to test your function def circ(side1, side2): return 2*(side1+side2) def area(side1, side2): return side1*side2 def combine(size): side1=int(input("side 1 ")) side2=int(input("side 2 ")) max_circ=circ(side1, side2) max_area=area(side1, side2) print("circumference for rectangle", 1,"is",max_circ) print("area for rectangle", 1,"is",max_area) for i in range(1, size): side1=int(input("side 1 ")) side2=int(input("side 2 ")) res1=circ(side1, side2) res2=area(side1, side2) print("circumference for rectangle", i+1,"is",res1) print("area for rectangle", i+1,"is", res2) if(res1>max_circ): max_circ=res1 if(res2>max_area): max_area=res2 return max_circ, max_area def main(): size=int(input("how many rectangles to proces ")) max_circ, max_area=combine(size) print("max circ", max_circ, "max area", max_area) main()