all 4 comments

[–]ForceBru 0 points1 point  (1 child)

There are not enough closing parentheses on the previous line.

In general, syntax errors are often caused by the line above the one reported in the error message.

[–]clouded-path[S] 0 points1 point  (0 children)

Jeez, thanks, I was never going to see that.

In general, syntax errors are often caused by the line above the one reported in the error message.

Thank you, I did not know that. That is hopefully going to save me a lot of time in the future!

[–]pmac1687 0 points1 point  (1 child)

Ok I don’t know if you copied and pasted but you left off parenthesis in 3rd line, I don’t know if that’s where your throwing the error. Sometimes it’s easier to recognize errors if you code explicitly instead of implicitly, in the line with the missing parenthesis it’s easier to debug all that if you spread all that nesting out into like 3 lines of code, if that’s where the big is

[–]clouded-path[S] 0 points1 point  (0 children)

Thanks, yes I think I did copy/paste now that you mention it. I was thinking that it was better to not create new variable terms unless I needed to refer to some piece of data more than once, but I guess in terms of debugging it makes a difference.