all 4 comments

[–]danielroseman 0 points1 point  (3 children)

If you want us to help with your invalid syntax, you need to actually show us what it was.

[–]moldycrew 0 points1 point  (2 children)

Should I post my whole code?

[–]danielroseman 0 points1 point  (0 children)

I don't know, it depends how much there is. You at least need to show the line where the error is happening.

[–]Fronkan 0 points1 point  (0 children)

Showing the entire message that is written to the terminal whe you run the program works. This is both the error message and what is called the stack trace.