Maximum Product

Identify the product of the k largest numbers in a list of integers using Python.

Given an array/list of integer numbers, your task is to write a function that takes both an array `arr` and an integer `k` as input, and determines the product of the `k` largest numbers in the `arr`. ### Parameters - `arr`: A list of integers. - `k`: An integer that represents the number of largest numbers to be considered. ### Return Value - Returns the product of the `k` largest numbers in the list `arr`. ### Examples ```python # The product of the two largest numbers (4 and 5) is 20 solution([4, 3, 5], 2) # 20 # The product of the three largest numbers (8, 9 and 10) is 720 solution([8, 10, 9, 7], 3) # 720 # The product of the five largest numbers (4, 8, 10, 10 and 10) is 32000 solution([10, 8, 3, 2, 1, 4, 10], 5) # 32000 ````