Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Good link to read, and further argumentby BigLug (Chaplain) |
on Jul 16, 2002 at 12:07 UTC ( [id://182053]=note: print w/replies, xml ) | Need Help?? |
Don't you hate it when you forget to log in before you post ... anyways, that's mine above.
By the way, this link has a great description of the problem. If you don' t believe my reasoning above, think about this: What if there were 100 doors, you picked one, Mr Hall reveals 98. This means you were either right the first time (1% chance) or you should swap (99% chance). To check this out, just change the $Doors to 100 above.
In Section
Cool Uses for Perl
|
|