Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Aditya Pokharel AdityaPokharel

🏠
Working from home
View GitHub Profile
@AdityaPokharel
AdityaPokharel / monty_hall.py
Created Sep 6, 2017
Monty Hall Problem Simulation
View monty_hall.py
import random
import sys
def monty_hall(choice, switch):
'''
@param
:choice: - int between 1 and 3.
:switch: - boolean. Switches choice if true.
'''