mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2026-01-02 16:20:18 -08:00
Python: Add type annotations
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user