Nov-23-2018, 03:48 PM
(Nov-22-2018, 10:43 PM)ichabod801 Wrote: What's wrong with:
if (row * column) % 2 == 0: rowString += '#'after line 25? And I think you want to unindent lines 29 and 30.
That did the trick. I was right there but I just didn't have the code quite right. I was trying along the lines of:
if (row*column) % 2 == 0: print(rowString + '#')Glad to know that I was close.
One other question. Any obvious reason why it seems to be ignoring line 7's if statement? I want it to pull up an error if the user inputs anything under 2 or over 10, but when I test the program it allows any input.