1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
kogti [31]
3 years ago
12

Can someone tell me how this is a SyntaxError! (Python3)

Computers and Technology
1 answer:
Basile [38]3 years ago
6 0

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>

You might be interested in
In a study of 1228 randomly selected medical malpractice​ lawsuits, it was found that 856 of them were dropped or dismissed. Use
ale4655 [162]

Answer:

<u>Hypothesis</u><u> </u>

H o : No difference between proportions

H 1 : There is a significant difference between proportions

n = 1228

b = 1228 - 856

b = 375

Since n ≥ 25

b = {( a + 0.5 ) - n/2 }\  ( √n )/2

   = {( 372 + 0.5 ) - 1228/2 }\ ( √1228 )/2

   = - 13.789

  • from table : A-2
  • p-value is 0.000
  • given significance level is α = 0.01
  • p-value is less than significance level hence there is enough evidence to reject null hypothesis
  • Which means there is a significance difference between the proportion of lawsuits that go to trail which should be dismissed
4 0
4 years ago
I need Help Right now!!!!!!!!!!!!!!!!!!!!!!!!!
Vikki [24]
Analog<span> and </span>digital<span> signals are used to transmit information, usually through electric signals. In both these technologies, the information, such as any audio or video, is transformed into electric signals. The </span>difference between analog and digital<span> technologies is that in analog technology, information is translated into electric pulses of varying amplitude. In digital technology, translation of information is into binary format (zero or one) where each bit is representative of two distinct amplitudes. analog vs digital</span>
5 0
4 years ago
Within a major students can choose to study a specific area within major. For example a journalism student may study military jo
Tpy6a [65]

Answer:

Specialization

Hope this helps!

6 0
3 years ago
Which steps will create a new blank word document
mrs_skeptik [129]

Answer:

Open word

File > New

Select a template

8 0
3 years ago
Why doesn't the ad load ?
baherus [9]
Try refreshing the page, if not restart your device check your internet etc.
3 0
2 years ago
Read 2 more answers
Other questions:
  • Bob's Assembly is a hardware manufacturer. It specializes in builders' hardware for doors, cabinets, windows, and bathrooms. Bob
    10·1 answer
  • Hard drive storage is considered to be solid state. true or false
    8·1 answer
  • What is meant by polling mode in communication between software andUART and what is its disadvantage as compared to interrupt mo
    14·1 answer
  • What is the purpose of a diode in a cordless drill or power screwdriver?
    14·1 answer
  • Why is fluency in information technology becoming increasingly important for many college majors?
    6·1 answer
  • Which statement does NOT describe working with text in presentation programs?
    13·2 answers
  • Could someone give an example or tell me what all of these mean? (For internet source citing)
    10·1 answer
  • In their legacy system. Universal Containers has a monthly accounts receivable report that compiles data from Accounts, Contacts
    6·1 answer
  • I GOT A 65% LAST TIME AND IM DOING RETAKE! PLEASE DONT FAIL ME THIS TIME
    8·2 answers
  • When a derived class method has the same name as a base class method, it is often said that the derived class method ________ th
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!