Question: Write a function called check _ for _ winner that has two parameters: a name ( a string ) and a score ( an int
Write a function called checkforwinner that has two parameters: a name a string
and a score an int:
a If the score is or more print the following message using the current parameter value
for the name, not Ziggy:
THE WINNER IS: Ziggy!!!!!
b The function returns True if the score is or more, otherwise it returns False.
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
