Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: A Rebol Challenge. The Monty Hall Puzzle

From: rebol665:ifrance at: 16-Dec-2001 22:54

Hi, Sunanda Print ["Win% " 200 / 3] I came to the same conclusion thanks to your "slow motion" explanation but I did not dare to put that. Indeed the 2/3 emerges from your explanation.
>so if MySwappedDoor is a 1, I'm a winner!
Actually this already points to "how can that happens if the 1 comes first in the block?". However it was not my aim to "stole your thunder" (as would Monica Geller say*).
>The problem being that not everyone does accept that logic at first view.
My version could have come without any assumption, even without knowing what it was all about. Your program was counting how many times a random block including two zero and only one one could either be [0 0 1] or [0 1 0]. My version said that it suffice to count how many times it would not be [1 0 0]. I must confess that I too prefer your version that not only gives the answers but also "explains" it. That was a very very clever piece of code ! Patrick ps: * comes from the serie FRIENDS, episode 701