الحصول على العناصر n من القائمة بالترتيب من أكبر وأصغر القيم في Python https://ar.from-locals.com/python-max-min-heapq-nlargest-nsmallest/