On 22/04/22 5:09 am, Chris Angelico wrote:
This can't be your complete code, because it won't run like this.
Also, the output you showed contains blank lines and lines with hyphens, and there is nothing in the code you posted which does that. If I had to guess, I'd say you have a loop which is supposed to repeatedly read a value for n and then compute fizzbuzz, and you have the input statement in the wrong place. -- Greg -- https://mail.python.org/mailman/listinfo/python-list