How is this a SyntaxError?(python3)

How Is This A SyntaxError?(python3)

Answers

Answer 1

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

Answer 2

Answer: theres only one bracket

Explanation: got it right on edgen


Related Questions

x = 0
while x < 4:
print(x)
x += 1
Make it a for loop

Answers

Answer: Here you go :)

Explanation:

x = 0

for n in range(4):

  print(x)

Other Questions
Complete the equations below. 1. PART A: Which of the following best describes a central idea of the text?O A The human race is evolving beyond the need for petty fighting.OB Above all, soldiers duties are to serve and protect their country.C Soldiers should never question others or engage in politics.D The only way to ensure global peace is through waging war. What is the value of |-8| Find the correct plugged in formula for each figure. how do you know that a new kind of corn is a persuasive article What would x equal( rounded to the nearest tenth) II .Attendants of Louis XIII and Louis XIV of France began wearingwigs toA imitate english gentleman B flatter and be like the king C distinguish between political partiesD show that they were important figures Identify the techniques used in the work-up and characterization of benzoic acid. The analytical method used to confirm the structure and functional groups of the product NMR spectroscopy The technique used to separate the pure product from any excess reagent, impurities, and byproducts Recrystallization The quick, numeric analysis used to characterize the product and assess the purity Melting point. x = 0while x < 4: print(x) x += 1Make it a for loop WOUND CARE MAINTENANCE Scenario A: A cross country runner was on his way back from his daily run and he slipped on a rock. The rock ended up slicing the lateral aspect of his RIGHT lower leg from the ankle to the knee causing a deep cut in the middle of the leg. He finishes running to the athletic training room with a lot of blood dripping down his leg and onto the floor. 1. What type of injury is described A light year is the amount of time it takes for light from the Sun to reach the Earth.TrueFalse Clarissa has a budget of $1,200 a month to spend for rent and food. She has already spent $928 this month. Which inequality represents the amount she can still spend this month and remain within her budget?x greater-than 272x less-than-or-equal-to 272x less-than 272x greater-than-or-equal-to 272 A coordinate grid has a scale of 1unit = 100 miles. How far apart, inmiles, are points (-3, 2) and (-3,12)? Quirch Inc. manufactures machine parts for aircraft engines. The CEO, Chucky Valters, was considering an offer from a subcontractor that would provide 2,400 units of product PQ107 for Valters for a price of $150,000. If Quirch does not purchase these parts from the subcontractor it must produce them in-house with the following unit costs: Cost per Unit Direct materials $31 Direct labor 19 Variable overhead 8 In addition to the above costs, if Quirch produces part PQ107, it would have a retooling and design cost of $9,800. The relevant costs of producing 2,400 units of product PQ107 internally are:______.a. $149,000. b. $129.800. c. $150,000. d. $164,200. e. $148.300. Please help, and I'll give brainliest! The following dot plot represents a random sample of elementary students and the number of children that live in their home.Which of the following numbers is an outlier?16342 Sentence 3a. No change b. Truman delivered hundreds of speeches in townsc. Truman delivered: hundreds of: speeches, in townsd. Truman delivered hundreds of: speeches in towns Can somebody help me with this math question, all you have to do is answer the equation, then it's described, and then it draw it out I'll give you 100 points and a Brainliest is y+7=2x a direct variation Faith is not the belief that God will do what you want. It is the belief that God will do the right. - Max LucadoIn your own understanding, explain the meaning of the given quotes below. (5 sentences each) HELP URGENT!!!!! 50 POINTS