Ask coding questions

← Back to all posts
How is this an invalid syntax?
Axrevyn (180)

I was working on a notepad program and ran into a weird error - it tells me there's an invalid syntax, but I have no idea how I messed up. Can someone explain?

Answered by SixBeeps (2508) [earned 5 cycles]
View Answer
Commentshotnewtop
SixBeeps (2508)

Pass doesn't do anything, so try removing it.

Axrevyn (180)

@SixBeeps I removed it and it still showed the error:

SixBeeps (2508)

@Axrevyn Oh, you missed a ) on line 104

SixBeeps (2508)

@Axrevyn This is honestly a good 65% of programming summed up in one forum post.

Axrevyn (180)

@SixBeeps Figuring out that you're just missing one single parenthese? That's common?

Axrevyn (180)

@SixBeeps Someone else feels my embarrassment and pain. whatever. enjoy your 5 cycles.