Description Usage Arguments Details Value Examples
determine_winner()
DETERMINE IF CONTESTANT HAS WON.
1 | determine_winner(final.pick, game)
|
if |
arguments are used by the function. |
After the contestant choose his/her final pick whether to Stay or Switch doors, the final picked door is open and the results of determining if the contestant Wins or Loses.
The function returns if the contestant WIN or LOSE.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.