In <u>looping</u> structures, the computer repeats particular statements for a certain number of times based on some condition(s).
<h3>What is a
looping structure?</h3>
A looping structure can be defined as a type of function which instructs a computer to repeat specific statements for a certain number of times based on some condition(s).
This ultimately implies that, a computer repeats particular statements for a certain number of times based on some condition(s) in looping structures.
Read more on loop here: brainly.com/question/26130037
#SPJ11
To be safe on the Internet, we must avoid giving out personal information.
He could use bold or bigger text just a suggestion.
Answer:
The expression on line 9 required 2 brackets
Explanation:
Given
The attached code
Required
Why syntax error.
The error points to line 10, but the error is actually from line 9
To get an integer input, the syntax is:
variable-name = int(input("Prompt"))
From the attached code, the line 9 is:
amount = int(input("Enter cheese order weight: ")
By comparing the syntax to the actual code on line 9, only 1 of the brackets is closed.
<em>This, in Python 3 is a sytax error</em>