-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.py
149 lines (125 loc) · 3.64 KB
/
main.py
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
#!/usr/bin/env python3
"""
TASK - Print to screen a fortune
TODO (Primary Path)
1. Ask for users name
2. print to screen a Basic valentines greeting for someone special
"""
__author__ = "Karim Saleh"
__email__ = "karimmoustafasaleh@gmail.com"
__licence__ = "The Unlicense"
__version__ = "12.0"
__date__ = "2020-2-6"
import os
import arabic_new
import arabic_new_all
import english
import english_all
import hijab
import hijab_all
import friends
import friends_all
import theOffice
import theOffice_all
import himym
import himym_all
import bbad
import bbad_all
print("\033[1;35;48mAloha there ❤️️️️️️️️ ️️️️️️️❤️️️️️️️️ ❤️️️️️️️️ ️️️️️️️❤️️️️️️️️"
"\nFriendly message from my creator"
"\nTo whom received the link to this abstract"
"\n,this is for you, Hope you have a"
"\nJolly Valentines ~ the creator"
"\n \033[0m ")
def loop():
while True:
try:
print("\n",name,"Please choose a category ❤️"
"\nBy simply typing a number that"
"\ncorresponds with an option and pressing""\nreturn :)"
"\n"
"\nArabic - 1"
"\nEnglish - 2"
"\nHalal - 3"
"\nFriends TV - 4"
"\nThe Office TV - 5"
"\nHow I Met Your Mother TV - 6"
"\nBreaking Bad TV - 7")
inp = int(input())
if inp == 1:
os.system('clear')
print("\n"+"\n"+name+"\n"+arabic_new.valentine_tellings())
break
elif inp == 2:
os.system('clear')
print("\n"+"\n"+name+"\n"
+english.valentine_tellings())
break
elif inp == 4:
os.system('clear')
print("\n"+"\n"+name+"\n"
+friends.valentine_tellings())
break
elif inp == 3:
os.system('clear')
print("\n"+"\n"+name+"\n"
+hijab.valentine_tellings())
break
elif inp == 5:
os.system('clear')
print("\n"+"\n"+name+"\n"+theOffice.valentine_tellings())
break
elif inp == 6:
os.system('clear')
print("\n"+"\n"+name+"\n"+himym.valentine_tellings())
break
elif inp == 7:
os.system('clear')
print("\n"+"\n"+name+"\n"+bbad.valentine_tellings())
break
elif inp == 110:
os.system('clear')
print(arabic_new_all.valentine_tellings())
break
elif inp == 220:
os.system('clear')
print(english_all.valentine_tellings())
break
elif inp == 330:
os.system('clear')
print(hijab_all.valentine_tellings())
break
elif inp == 440:
os.system('clear')
print(friends_all.valentine_tellings())
break
elif inp == 550:
os.system('clear')
print(theOffice_all.valentine_tellings())
break
elif inp == 660:
os.system('clear')
print(himym_all.valentine_tellings())
break
elif inp == 770:
os.system('clear')
print(bbad_all.valentine_tellings())
break
else:
print(name, " Please choose a category ❤️")
except ValueError:
os.system('clear')
print(name + "\033[1;31;48m" + "\nPlease select one of the categories"+"\nhoney pie ❤️️️️️️️️"+"\033[0m")
name = input("Please insert your name honey pie ❤️\n")
os.system('clear')
loop()
while True:
print("\n\nAnother? y/n")
ins = input()
if ins.lower() == "y":
os.system('clear')
loop()
elif ins.lower() == "n":
break
else:
print("Enter y or n")