Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathApplied.py
More file actions
Latest commit
52 lines (43 loc) · 1.45 KB
/
Copy pathApplied.py
File metadata and controls
52 lines (43 loc) · 1.45 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
#Applied#
importrandom
print("\nWelcome to number guessing game...\n")
asd=random.randint(0,50)
ass=random.randint(0,100)
#You should'nt be looking in here...#
add=random.randint(0,500)
exe=["easy","medium","hard"]
print("These are the possible difficulties you can choose from:\n",exe,"\n")
aaa=input("Select Difficulty!\nType it in!\n ")
ifaaainexe[0]:
print("Okay!")
whileTrue:
ent=int(input("Enter your guess!\nNumber:"))
ifent<asd:
print("Sorry bud your guess was too small.\nTry again...\n")
elifent>asd:
print("Try a little lower bro...\n")
else:
print("nice guess bro...\nIt was correct!")
break
ifaaainexe[1]:
print("Okay!")
whileTrue:
ent=int(input("Enter your guess!\nNumber:"))
ifent<ass:
print("Sorry bud your guess was too small.\nTry again...\n")
elifent>ass:
print("Try a little lower bro...\n")
else:
print("nice guess bro...\nIt was correct!")
break
ifaaainexe[2]:
print("Oh Wow, I also enjoy living life on the harderside.\n(*-*)\n")
whileTrue:
ent=int(input("Enter your guess!\nNumber:"))
ifent<add:
print("Sorry bud your guess was too small.\nTry again...\n")
elifent>add:
print("Try a little lower bro...\n")
else:
print("nice guess bro...\nIt was correct!")
break