Monthy-Hall-Problem-Simulator

所属分类:其他
开发工具:Python
文件大小:0KB
下载次数:0
上传日期:2024-03-27 12:46:20
上 传 者sh-1993
说明:  一个可以模拟和显示“Monty hall问题”结果的程序
(A program which can simulate and show the results of the "Monty hall problem")

文件列表:
images/
main.py
stat.txt

# Monthy-Hall-Problem-Simulator ![thumbn](https://github.com/Magrgo/Monthy-Hall-Simulator/assets/102856537/8dd386ba-a987-47a3-9943-0bd424ab6a7d) ## A program which can simulate the "Monty Hall problem" visually ### The Game In the problem, you are on a game show, being asked to choose between three doors. Behind each door, there is either a prize or nothing. You choose a door. The host, Monty Hall, picks one of the other doors, which he knows has nothing behind it, and opens it, showing you the empty space. Monty then asks whether you would like to switch your choice of door to the other remaining door. Assuming you prefer to get the prize, do you choose to switch or not to switch? The solution is that switching will let you win twice as often as sticking with the original choice, a result that seems counterintuitive to many. ### Programming -Programmed in python 3.11.8.
-No external libraries needed to be installed to run the script.
-GUI made with 'tkinter' standard library. Design is responsive until a specific degree.
-It's using built in 'random' module to make choices randomly, source code confirms it.
![mhp](https://github.com/Magrgo/Monthy-Hall-Problem-Simulator/assets/102856537/8d82a1c3-caf4-48db-acd6-86d12a428d23) ### Credits All credits to vecteezy.com creators for images and icons.

近期下载者

相关文件


收藏者