forked from codehouseindia/Python-Programs
-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathfortunecookiegame.py
More file actions
24 lines (24 loc) · 823 Bytes
/
fortunecookiegame.py
File metadata and controls
24 lines (24 loc) · 823 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
#https://www.facebook.com/100028679802914/posts/449717249327598/
# Subscribed by Nikita Desale
import random
print("Your Good Name Please:)__")
n=input()
print(n+" Your fortune cookie says")
fortune = random.randint(1,8)
if fortune == 1:
print("Good things happen just wait and have Patience")
elif fortune == 2:
print("Oho, A lovely day you have today")
elif fortune == 3:
print("The early bird gets the worm.")
elif fortune == 4:
print("Your intuitions will make yiur day!")
elif fortune == 5:
print("Now is the time to try something new!")
elif fortune == 6:
print("Today it is up to you to create a peacefulness you long for")
elif fortune == 7:
print("You will be hungry again in one hour.")
elif fortune == 8:
print("Fortune cookies rarely share fortunes.")
print("\nHave a nice day")