fizzbuzz
fizzbuzz copied to clipboard
Typing
On page 96 line
# Put a None at the beginning so output[1] is the output for 1
output = [None] + head(power_fizz(), 1000)
type checker gives following error:
Operator "+" not supported for types "list[None]" and "list[str]"
I suggest change it to
output = [""] + head(power_fizz(), 1000)