Python: Add type annotations

This commit is contained in:
Martin Thoma
2022-03-19 22:10:26 +01:00
committed by Alexander Wunschik
parent b95a514e84
commit 83b3dc402c
79 changed files with 509 additions and 461 deletions

View File

@@ -117,7 +117,7 @@ def adjust_profits(wheel, m, profits):
return profits
def final_message(profits):
def final_message(profits) -> None:
if profits < 0:
print("Pay up! Please leave your money on the terminal")
elif profits == 0:
@@ -126,7 +126,7 @@ def final_message(profits):
print("Collect your winings from the H&M cashier.")
def main():
def main() -> None:
profits = 0
keep_betting = True