Question: get _ big _ winner ( self ) - return the ticket with the largest prize. If more than one ticket happens to share the
getbigwinnerself return the ticket with the largest prize. If more than one
ticket happens to share the distinction then it does not matter which one you return.
getbigwinners self amount return a list of all tickets with a prize of at
least amount. If necessary, it is OK to return a list with no tickets. Hint, can be written
in less than ten lines of code.
printbigwinnersself amount call getbigwinners and then
print all tickets. See below for sample output.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
