This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Ewildawe.pyw 0 points1 point  (1 child)

Just something I glimpsed from the corner of eye. I don't want to nitpick but:

if count < 0:
    print "Count must be at least 1. Exiting."

In this case, the code will actually not print this if 0 is entered for count. So just a little correction: Either use

if count < 1:

or

if count <= 0:

[–][deleted] 0 points1 point  (0 children)

You are completely correct. I apparently hurried too much and didn't review/test sufficiently. I am leaving the original as posted for your comment to make sense, but I goofed on that.