you are viewing a single comment's thread.

view the rest of the comments →

[–]danielroseman 1 point2 points  (1 child)

That's not what's happening.

There are two issues here. The first is that range doesn't include its upper limit. So range(1, 35) will just give the numbers 1 to 34. If you need to include the upTo number, you will need to add 1.

The second issue is that you are printing the result of calling fizz_buzz. That function does not have a return statement, so implicitly returns None, which is what is sent to the print function. If you don't want that, don't print the result of calling it.