Question: get _ big _ winner ( self ) - return the ticket with the largest prize. If more than one ticket happens to share the

get_big_winner(self)- 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.
get_big_winners (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.
print_big_winners(self, amount)- call get_big_winners() and then
print all tickets. See below for sample output.
get _ big _ winner ( self ) - return the ticket

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!