Python: Add type annotations

This commit is contained in:
Martin Thoma
2022-04-02 09:30:56 +02:00
parent 624c55711c
commit a561322962
15 changed files with 42 additions and 40 deletions

View File

@@ -26,13 +26,14 @@ From: Basic Computer Games (1978)
from math import log
from random import random
from typing import Tuple
def insert_whitespaces() -> None:
print("\n\n\n\n\n")
def limit_set():
def limit_set() -> Tuple[int, int]:
print(" Guess")
print("Creative Computing Morristown, New Jersey")
print("\n\n\n")