Ask coding questions

← Back to all posts
Why won't this work! This shouldn't be a problem! Please help!
StevenDavis2

How is this even possible? Python is being so annoying, and I do not understand. I have been working on this project for a while now, and this has never been a problem, but this one single line of code, that is the exact same as a million other ones, is having
an error that will not go away no matter what I do! It says it is invalid syntax, but it is the only way to write it! Please help!

Answered by emilyDoesPascal [earned 5 cycles]
View Answer
Voters
StevenDavis2
Comments
hotnewtop
emilyDoesPascal

On line 107, you are missing a paren. It should be a.fillcolor(rainbow_list.pop())

StevenDavis2

@coreDumpedSeg Yes! Thanks so much!

MrVoo

Remember, it's never Python's fault :/

StevenDavis2

@MrVoo Yeah. I was on a time crunch and I did not know what was wrong. I am making a bitmap art editor both for fun, for personal use,and for a grade.

StevenDavis2

UGH!!!! Whenever I even try to comment out the section the commenting out marks themselves show as an error and crash the program!!!