I am currently working on exercise #7 in Code challenge - Loops (Python in computer science path).
I don’t understand the output that my function is supposed to have .
In the instruction, it is written:
Create a function named
larger_sum() that takes two lists of numbers as parameters named
The function should return the list whose elements sum to the greater number. If the sum of the elements of each list are equal, return
I have put in italic the part that I don’t understand.
In the exercise, we test the function on the list: ([1, 9, 5], [2, 3, 7])
It could be a big help if I could see the final list I should get from the function.