-
Notifications
You must be signed in to change notification settings - Fork 0
asigdel29/Monty-Hall
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
5C6B
| ||||
Repository files navigation
This function creates a list of three doors, with one door containing a car and the other two containing goats. It then randomly selects a winning door and a chosen door. If the chosen door is not the winning door, the function simulates the host opening one of the remaining doors that does not contain the car. Finally, it prints out the winning door, the chosen door, the opened door, and the result of switching to the remaining unopened door.
About
Implemented a function in LISP that simulates the Monty Hall Problem.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published