File size: 241 Bytes
c6ed2d8
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
# 'primes' is a list of integers
primes = []  # type: List[int]

# 'captain' is a string (Note: initial value is a problem)
captain = ...  # type: str

class Starship:
    # 'stats' is a class variable
    stats = {}  # type: Dict[str, int]