The correct answer is Boolean logic.
Booleans are true or false statements.
An example of a while loop is:
while 1 < 5:
#do something.
The Boolean statement is 1 < 5 which evaluates to true because 1 is less than 5.
I hope this helps!
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>
<span>A pearl is not a mineral because it is created artificially. It is a gemstone, not a mineral because it is a composite of mineral Aragonite and a protein compound which is called conchiolin. Pearls are formed by organic and living organisms which is preserved to become a gemstone.</span>
Answer:
The Condition-controlled loop
Explanation: Because its called a Condition and it does not stop untill something happens thats why its called "condition".