Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
Latest commit
67 lines (59 loc) · 2.24 KB
/
Copy pathmain.py
File metadata and controls
67 lines (59 loc) · 2.24 KB
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
importquestionary
importrandom
importwebbrowser
importtime
importos
defmenu():
os.system("cls")
try:
choix=questionary.select(
"Que veux-tu faire ?",
choices=[
"Jouer",
"Options",
"Quitter"
]
).ask()
ifchoix=="Jouer":
main=int(input("""
██ ██████ ██ ██ ██ ██
██ ██▄▄ ██ ██ ████
████▀ ██▄▄▄▄ ▀████▀ ██ ██
Bienvenue Met l'argent que tu a : """))
try:
ifmain>=1:
choix_pc=random.randint(1, 249249)
ifchoix_pc>main:
print("Le pc gagne il a fais", choix_pc, "Tu a fais", main)
else:
print("Le joueur gagne", "Le pc a fais", choix_pc, "Le joueur a fais", main)
else:
print("Tu doit au moin mètre 1")
exceptExceptionase:
print(f"Error {e}")
elifchoix=="Options":
try:
opti=questionary.select(
"Voila les Option que tu as",
choices=[
"Mr.Robot",
"Tools",
"Virus"
]
).ask()
ifopti=="Mr.Robot":
webbrowser.open("https://www.youtube.com/shorts/3xXdTHlPdwE")
elifopti=="Tools":
webbrowser.open("https://github.com/Python-loving/WHITEWOLF-TOOLS")
else:
whileTrue:
webbrowser.open("https://github.com/Python-loving/WHITEWOLF-TOOLS/blob/main/covid.py")
exceptValueErrorase:
print(f"Error {e}")
elifchoix=="Quitter":
print("BIP BOOP i am a robot i want to tell you please leave tools i just want one suggestion on GitHub")
time.sleep(2)
exceptExceptionase:
print(f"Error {e}")
if__name__=="__main__":
menu()