Skip to content

Commit cdb9b0f

Browse files
authored
Update NumberGuesser.py
1 parent 2d57363 commit cdb9b0f

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Projects/NumberGuesser/NumberGuesser.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
diff = 0
5252

5353
# Easy
54-
if choice == "E":
54+
if choice == "E" or choice == "e":
5555
diff = 0
5656
while pasw == 1:
5757
if start == 1:
@@ -114,7 +114,7 @@
114114
pasw = 1
115115

116116
# Medium
117-
if choice == "M":
117+
if choice == "M" or choice == "m":
118118
diff = 0
119119
while pasw == 1:
120120
if start == 1:
@@ -176,7 +176,7 @@
176176
pasw = 1
177177

178178
# Hard
179-
if choice == "H":
179+
if choice == "H" or choice == "h":
180180
diff = 0
181181
while pasw == 1:
182182
if start == 1:
@@ -238,7 +238,7 @@
238238
pasw = 1
239239

240240
# VeryHard
241-
if choice == "VH":
241+
if choice == "VH" or choice == "vh" or choice == "Vh" or choice == "vH":
242242
diff = 0
243243
while pasw == 1:
244244
if start == 1:
@@ -299,7 +299,7 @@
299299
print("Wrong!")
300300
pasw = 1
301301
# Extreme
302-
if choice == "EX":
302+
if choice == "EX" or choice == "ex" or choice == "Ex" or choice == "eX":
303303
diff = 0
304304
while pasw == 1:
305305
if start == 1:
@@ -361,7 +361,7 @@
361361
pasw = 1
362362

363363
# Impossible
364-
if choice == "I":
364+
if choice == "I" or choice == "i":
365365
diff = 0
366366
while pasw == 1:
367367
if start == 1:
@@ -423,7 +423,7 @@
423423
pasw = 1
424424

425425
# Impossible 2
426-
if choice == "I2":
426+
if choice == "I2" or choice == "i2":
427427
diff = 0
428428
while pasw == 1:
429429
if start == 1:
@@ -485,7 +485,7 @@
485485
pasw = 1
486486

487487
# Impossible 3
488-
if choice == "I3":
488+
if choice == "I3" or choice == "i3":
489489
diff = 0
490490
while pasw == 1:
491491
if start == 1:
@@ -548,7 +548,7 @@
548548

549549

550550
# Custom
551-
if choice == "C":
551+
if choice == "C" or choice == "c":
552552
diff = 0
553553
while pasw == 1:
554554
if start == 1:
@@ -613,7 +613,7 @@
613613
pasw = 1
614614

615615
# Learn
616-
if choice == "L":
616+
if choice == "L" or choice == "l":
617617
diff = 0
618618
while pasw == 1:
619619
if start == 1:

0 commit comments

Comments
 (0)