Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
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.