'Refactored by Sourcery'

This commit is contained in:
Sourcery AI
2023-05-24 23:55:27 +00:00
committed by amjad
parent 7c1e336f14
commit 71d02673a9
70 changed files with 582 additions and 835 deletions

View File

@@ -49,8 +49,7 @@ def ask_int(prompt: str) -> int:
while True:
answer = input(prompt)
try:
int_answer = int(answer)
return int_answer
return int(answer)
except Exception:
pass