Created
February 10, 2019 14:57
-
-
Save mizvol/0772b2f4a9ac222d48175fec2831f7a4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
choice1_count = 0 | |
choice2_count = 0 | |
for i in range(0,7000000): | |
random_choice = random.SystemRandom() | |
choice = random_choice.choice([1,2]) | |
if choice == 1: | |
choice1_count += 1 | |
else: | |
choice2_count += 1 | |
if choice1_count > choice2_count: | |
print("We go on the 13th") | |
else: | |
print("We go on the 14th") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment