It's Autumn! Prices fall like leaves! - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Tuple basics
Tuples in functions
Summary
15. Question 2

Instruction

Perfect! How about Question 2?

Exercise

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.