# q2 – create function area() to meet the conditions below # -…

Question Answered step-by-step # q2 – create function area() to meet the conditions below # -… # q2 – create function area() to meet the conditions below#    – accepts a list of tuples of integer values as a parameter.#       Each value in the sublist (tuple) has two integer values (length and#       width of a rectangle. Calculate the area of each of the rectangles#       and return a list of numbers, ##    – rectangle area can be calculated by multiplying the length and width#       of it#       — Example 1: [(3,5), (1,7), (2,3)] returns [15, 7, 6]#       — Example 2: [(1,4)] return [4]##    – NOTE: You may assume the list has at least one value in it#       and all the sublists (tuples) always have two items in them##    – RESTRICTIONS:  None##    – DOCUMENTATION – Add a meaningful docstring to the function##    – param:  list   #    – return: list  Computer Science Engineering & Technology Python Programming CSC 131 Share QuestionEmailCopy link Comments (0)