-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
49 lines (34 loc) · 806 Bytes
/
main.py
File metadata and controls
49 lines (34 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import random
import time
def draw():
pass
def dice_roll():
blue = random.randint(1, 6)
red = random.randint(1, 6)
green = random.randint(1, 6)
yellow = random.randint(1, 6)
print('You rolled: ')
print()
print('Blue: ' + str(blue))
print('Red: ' + str(red))
print('Green: ' + str(green))
print('Yellow: ' + str(yellow))
def main():
# time.sleep(1)
print('Hello there.')
# time.sleep(2)
print('Would you like to play Disc Golf Dice?')
yn = str(input('Y/N: '))
if yn == 'n' or yn == 'N':
print('Ok. Your loss! See ya.')
elif yn == 'y' or yn == 'Y':
dice_roll()
else:
print('Try typing "y or n"')
main()
def place():
pass
def score():
pass
if __name__ == '__main__':
main()