fizzbuzz icon indicating copy to clipboard operation
fizzbuzz copied to clipboard

Typing

Open vlad-bezden opened this issue 4 years ago • 0 comments

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)

vlad-bezden avatar Aug 26 '20 14:08 vlad-bezden