Psst! Check what courses we have in our offer, and get them all here to save $727. Tick-tock—this deal ends on 3/21.
Tuple basics
Tuples in functions
15. Question 2


Perfect! How about Question 2?


Write a function named get_biggest_apartment_area_price(apartments). The function should accept a list of tuples with apartment data. For the apartment with the biggest area, return a tuple with two elements: (area, price).

An example apartment list is given in the template code. The tuple elements are: address, number of bedrooms, area in square meters, and price.