On 04Nov2016 21:57, tracey jones-Francis wrote:
I want to write a function that will calculate and return the sum of the n
highest value in a list a. Also, when n is less than 0, the answer should be
zero, and if n is greater than the number of elements in the list, all
elements should be incl
Hi,
I want to write a function that will calculate and return the sum of the n
highest value in a list a. Also, when n is less than 0, the answer should be
zero, and if n is greater than the number of elements in the list, all elements
should be included in the sum.
In addition i want to write