Ask coding questions

← Back to all posts
Why error?
beginner10coder

So I was making a simple calculator when I came across a syntax error and I couldn’t figure out why and I know there are some experts at python out there so I decided to ask why it’s making and syntax error on line 9

Answered by Wumi4 [earned 5 cycles]
View Answer
Voters
beginner10coder
Comments
hotnewtop
Wumi4

Hi!

This is not the problem of line 9, you probably forgot that on line 8, you still haven't closed the parenthesis pair of the print function yet.

Fixing this is easy, just basically put a right parenthesis at the end of the code!

beginner10coder

Ok fixed! Now it’s a pretty simple calculator @Wumi4