Script Library: 1241 scripts
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 
View scriptLicenseDownload documentation as: HTML or editable
Download scriptHistoryOther scripts by: sunanda

Documentation for: oneliner-monty-hall.r


Monty Hall Challenge

This non-intuitive (to many people) puzzle in probability involves a games-show host, three doors, a new car and a pair of goats.

This script reduces it to its bare mininum.

The internet is awash with sites discussing the Challenge -- see, for example:

Google Results page for "monty hall challenge"