How is this a SyntaxError?(python3)
![How is this a SyntaxErrorpython3 class=](https://us-static.z-dn.net/files/d33/e58338fb4093636198c49c19c69e89d5.png)
Answer:
1 bracket, instead of 2 is closed in line 9
Explanation:
Given
The attached code
Required
Why is line 10 a syntax error?
The error points to line 10.
From the attached code, the line 9 is:
amount = int(input("Enter cheese order weight: ")
When converting an input to integer, the syntax is:
variable = int(input("Prompt"))
But, only 1 bracket is closed in the program, where 2 is required.
This is definitely a syntax error