Skip to content

Instantly share code, notes, and snippets.

View itsaandy's full-sized avatar
🏠
Working from home

Aditya Pokharel itsaandy

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