fix/loop: drobné opravy
This commit is contained in:
@@ -148,7 +148,7 @@ def check_value(throw: str) -> bool:
|
|||||||
|
|
||||||
return hodnota
|
return hodnota
|
||||||
|
|
||||||
def add_players(iter=False):
|
def add_players():
|
||||||
global pointer, first, final_score
|
global pointer, first, final_score
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
@@ -182,7 +182,7 @@ def add_players(iter=False):
|
|||||||
try:
|
try:
|
||||||
inp = int(inp)
|
inp = int(inp)
|
||||||
final_score = inp
|
final_score = inp
|
||||||
except ValueError as e:
|
except ValueError:
|
||||||
print("Zadejte prosím platnou číselnou hodnotu.")
|
print("Zadejte prosím platnou číselnou hodnotu.")
|
||||||
else:
|
else:
|
||||||
break
|
break
|
||||||
|
|||||||
Reference in New Issue
Block a user