Created
April 12, 2017 11:49
-
-
Save NiklasRosenstein/8340da35ce816e9f44dea468a653e230 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/usr/local/bin/nodepy | |
choices = { | |
'S': range(1, 10), | |
'L': range(1, 5), | |
'V': range(1, 5), | |
'H': range(1, 4), | |
'R': range(1, 4), | |
'E': range(1, 4), | |
'C': range(1, 9), | |
'G': range(1, 3), | |
'N': range(1, 6), | |
'D': range(1, 3) | |
} | |
import random | |
print('\nChoose between one of the following three dishes:') | |
print() | |
print(' /^^^^^\\') | |
for __ in range(3): | |
m = random.choice(list(choices)) | |
print(' |', m, random.choice(choices[m]), '|') | |
print(' \\_____/') | |
print() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment