BUG: Hangman (Python) had a List-vs-Str comparison

MAINT: Add type annotations to find such issues
This commit is contained in:
Martin Thoma
2022-03-31 10:33:11 +02:00
parent b31c624703
commit ae0b6a5015
22 changed files with 347 additions and 365 deletions

View File

@@ -6,10 +6,10 @@ You are able to choose your shot types as well as defensive formations
"""
import random
from typing import Optional, List, Literal
from typing import List, Literal, Optional
def explain_keyboard_inputs():
def explain_keyboard_inputs() -> None:
print("\t\t\t Basketball")
print("\t Creative Computing Morristown, New Jersey\n\n\n")
print("This is Dartmouth College basketball. ")