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

Can Someone Tell Me How This Is A SyntaxError! (Python3)

Answers

Answer 1

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.

This, in Python 3 is a sytax error

Answer 2

Answer: it needs two brackets

Explanation: got it right on edgen


Related Questions

A spreadsheet will complete a variety of mathematical formulas for the user.

True or false

Answers

Answer: True

Explanation:

A spreadsheet will complete any formula as long as its entered by the user

Answer:

True

Explanation:

Which of the following items is the most important piece of
information to include in a page header or footer?
O Author name
Grade
Date
Page number

Answers

Answer:

Page number

Explanation:

Hope this helps

Brainliest for correct answer :)
a. X = A NOR B
b. X= NOT (A OR B)
c. X = A OR B

Answers

the answer is A, the logic circuit is a NOR

Examples of system software include operating systems like macos, Linux, Android and
Microsoft Windows, computational science software, game engines, industrial automation, and
software as a service applications
True
False

Answers

Tru tru tru tru tru tru

7. Application software is a program or group of programs designed for end-users.
True
False

Answers

Answer:

True

Explanation:

A software refers to "instructions that tell a computer what to do. Software comprises the entire set of programs, procedures, and routines associated with the operation of a computer system" (Encyclopedia Britannica).

There are two types of software;

i) system software

ii) Application software

An application software helps the user to perform specific tasks on the computer. It was specifically designed for the end user.

A typical example of an application software is the Microsoft office which could be used to prepare documents using the computer.

Answer:

true

Explanation:

explain the concept of “survival of the fittest”

Answers

Answer:

i think thats a line from  the lorax

Explanation:

Which of the following items are not a
component of a graphical user
interface?
(A) windows
(B) icons
(C) menus
(D) prompts​

Answers

Answer:

D

Explanation:

we dont use prompts on graphical iser

Prompts​ following items are not a component of a graphical user interface.

What is Graphical user interface?

A mouse is used to interact with a graphics-based operating system interface, which uses menus and icons to govern user interaction. The Xerox GUI was made popular in the 1980s by the Apple Macintosh.

However, Microsoft Windows, the company's GUI, has since become the standard user interface for personal computers. At the time, Microsoft's operating system, MS-DOS, required the user to input particular commands (PCs).

A graphics library, an interface toolkit, an interface style guide, and standardized applications make up a complete GUI environment. A high-level graphics programming interface is offered by the graphics library.

Therefore, Prompts​ following items are not a component of a graphical user interface.

To learn more about Graphical user, refer to the link:

https://brainly.com/question/14758410

#SPJ2

Which of the following statements is valid?SELECT InvoiceNumber, VendorNameFROM Invoices JOIN Vendors ON Invoices.VendorID = Vendors.VendorIDWHERE InvoiceTotal = MAX(InvoiceTotal)SELECT InvoiceNumber, VendorNameFROM Invoices JOIN Vendors ON Invoices.VendorID = Vendors.VendorIDWHERE InvoiceTotal = (SELECT MAX(InvoiceTotal))SELECT InvoiceNumber, VendorNameFROM Invoices JOIN Vendors ON Invoices.VendorID = Vendors.VendorIDWHERE InvoiceTotal IN (SELECT MAX(InvoiceTotal) FROM Invoices)All of the above

Answers

Correct Answer:

c.

SELECT InvoiceNumber, VendorName

FROM Invoices JOIN Vendors ON Invoices.VendorID = Vendors.VendorID

WHERE InvoiceTotal IN (SELECT MAX(InvoiceTotal) FROM Invoices)

Explanation:

All options only differ on the WHERE clause:

a: WHERE InvoiceTotal = MAX(InvoiceTotal)

Fails because aggregate functions (like MAX, COUNT, etc) have to be used on the SELECT clause.

b: WHERE InvoiceTotal = (SELECT MAX(InvoiceTotal))

Fails because the SELECT clause is incomplete.

c: WHERE InvoiceTotal IN (SELECT MAX(InvoiceTotal) FROM Invoices)

This one is correct, and returns the InvoiceNumber and VendorName register with the largest value on the InvoiceTotal field.

In the Business world people are often measured by their???
A- soft skills
B- hobbies
C- iq
D- technical skills

Answers

Answer:

D

Explanation:

You need skills to succeed!!

Answer is D !!!!!!!!

What is "public static grossPay()" an example of?



A) Method()


B) Literal()


C) Private()


D) Order()

Answers

Answer:

A) Method()

Explanation:

This is an example of a Java method header. It has the visibility modifier called public which makes it visible to other classes. It is a static method which means it can be only be called through the Class's name because an object instance of it cannot be created. It is named grossPay and has no parameters and does not return any type.

Is brainly allowed because you don't Really learn from this..?

Answers

Explanation:

I don't know it's some time good and some times bad

Answer:

i bet ur like that one kid who tells the teacher that she forgot to collect the homework even tho u aint even do it

True or False

Explanation:

Which term is defined as a single page within a spreadsheet file?

Answers

Answer:

A or C

Explanation:

I'm sorry if I'm wrong

A. Row, i hope you get it right. Have a nice day.

What is the difference between motion transmission and motion transformation?

Answers

Answer:

When the parts move in the same direction, it is rotational motion, and this is called motion transmission. When there is a change in the type the motion from rotation (circular or round and round) to translation (up/down), this is called motion transformation.

Explanation:

Answer:

When we convert a movement of one type into another of the same type (that is, linear in linear or circular in circular) we speak of transmission of movement. When, on the other hand, we convert it into another of another type (that is, linear in circular or circular in linear), we speak of transformation of movements.

Explanation:

Fill in the blank to make the following true.
2 ** 3 =

Answers

Answer:

2 ** 3 = 8

Explanation:

Answer:

8

Explanation:

the processing is done in the​

Answers

Answer:

CPU Central Processing Unit

Answer:

CPU.... I'm not sure but it might be right or can u put the full question because it sorta don't make any sense

What is one example of a pan lan man and a wan

Answers

Answer:

A LAN (local area network) is a group of computers and network devices connected together, usually within the same building. ... A WAN (wide area network), in comparison to a MAN, is not restricted to a geographical location, although it might be confined within the bounds of a state or country.

Explanation:

i hope this helps

What is wrong with the following recursive sum method? The method is supposed to sum up the values between 1 and x (for instance, sum(5) should be 5 + 4 + 3 + 2 + 1 = 15). public int sum(int x) { if (x == 0) return 0; else return sum(x – 1) + x; } Group of answer choices the base case should return 1 instead of 0 the recursive case should return sum(x – 1) + 1; instead of sum(x – 1) + x; the recursive case should return sum(x) + 1; the method should return a boolean instead of an int the base case condition should be (x <= 0) instead of (x = = 0)

Answers

Answer:

The base case condition should be (x <= 0) instead of (x = = 0)

Explanation:

The given recursive function works fine for positive number. However, it returns an error when the value passed to the function is negative.

To prevent this, the base case should be x <= 0.

This will allow the program returns 0 if a negative number or 0 is passed to the function.

Hence, the changes to be made is to replace the base case with x <= 0

how was kapilvastu named​

Answers

Answer:  Kapilvastu was named after Vedic sage Kapilamuni

A cell is the intersection of a row and a column, identified by a letter and number.

True or false

Answers

Answer: True

hello how are you

Answer: True hope it helps

Can someone tell me how to hit on a link on Brainly to see the answer

Answers

no, please do not hit on links. they're viruses i'm pretty sure.
Make sure to report the answer just in case

The concept of a logo with a constantly changing persona is contrary to the widely held belief that trademarks and visual identifiers should be absolutely fixed and used in a consistent manner. The _____________ logo changed the face, the idea, and the speed of graphic design; it played a major role in redefining visual identity in the electronic age. This logo anticipated the kinetic world of motion graphics soon to explode as cable television, video games, and computer graphics expanded the variety and range of kinetic graphic messages.

Answers

Answer:

Music Television (MTV).

Explanation:

The concept of a logo with a constantly changing persona is contrary to the widely held belief that trademarks and visual identifiers should be absolutely fixed and used in a consistent manner. The Music Television (MTV) logo changed the face, the idea, and the speed of graphic design; it played a major role in redefining visual identity in the electronic age. This logo anticipated the kinetic world of motion graphics soon to explode as cable television, video games, and computer graphics expanded the variety and range of kinetic graphic messages.

Music Television (MTV) is a 24-hour music cable channel that had its first live transmission in 1981.

materials used in front office

Answers

Answer:

A Telephone, Printer, Computers, Security Monitor

what do you mean by formatting the document?​

Answers

Answer: See explanation

Explanation:

Document formatting simply refers to how a document is laid out. It involves specifications about the look of a document.

During formatting of a document, some of the things done include alignment, margin, font, color, font size, indentation etc. All three eventually gives the document its look.

Distinguish between bit and byte?​

Answers

By its simplest definition, a bit is just a smaller unit of information than a byte. ... There are eight bits in one byte of information. Alternately, and more commonly in modern connotations, bits (and their successively larger relatives, such as kilobits, megabits and gigabits) are used to measure rates of data transfer.

Help please
Who will give the answer I'll mark him/her as brainlist..​

Answers

Answer:

We will be using Average function of Excel Calculation sheet.

Its Syntax in Calc sheet is : =AVERAGE (number1, [number2], ...)

or you can use =Average and then click on the first cell and drag the whole row till end and close the brackets. It will calculate the average of that row.

Once you have applied average function on first row, you can drag this cell down the column and it will replicate the same function for respective rows.

It is important to reflect on feedback.
A. True
B. False

Answers

The answer is A. True

Answer:

YES ITS IS!!

Explanation:

Effective feedback assists the learner to reflect on their learning and their learning strategies so they can make adjustments to make better progress in their learning.

Using cell references enter a formula in B6 to calculate monthly payments for the loan described in this worksheet Omit the optional arguement use a negative value for pv

Answers

Answer:

= PMT(B4/B2, B2 * B3, B1)

Explanation:

The syntax to use is:

= PMT(Rate,NPER, PV)

To answer this question, the following assumptions will be made.

B1 = Present Value i.e. PV

B2 = Number of Payment Period i.e n

B3 = Duration (in years)

B4 = Rate

So, the formula to enter in B6 is:

= PMT(B4/B2, B2 * B3, B1)

The above formula will return the monthly payment in cell B6

How do you access the

internet in your school and at home?​

Answers

I think they want you to answer personally, but we access internet through computers, ipads, phones, etc. using wifi or mobile data to attain connection.

Differentiate between a window and Windows​

Answers

Answer:

A window is a graphic control element which are controlled by the keyboard usually and windows is an operating system

Explanation:

Describe how a cell’s content and format attributes are related.

Answers

Answer: They are independent and not related.

Explanation: Changing the format affects the content. Which of the following is NOT a way to change the column width in Excel?

a cell's content and format are similar. a cell's content and format are unrelated. the content of a cell is influenced by changing its format. the format of the cell is also affected when the content of the cell is changed.

hope this helps
Other Questions
the first one help please asap, i will mark as brainliest Rewrite in simplest terms: 8(-10r-9)+9r Give one example ofa) Homogeneous mixture of two elements help plsssss importantt............... As citizens, we have both freedoms and which of the following? a) Responsibilities b) Regulations c) Debates d) Voices Name the two basic occupancy status categories. Kidneys remove what kind of waste from the body? A. Undigested food B. Carbon dioxide C. Oxygen D. Nitrogen waste What is the name of a group of connected and related organisms?A. FlowB. SystemC. EnergyD. Matter Calculate the number of atomsin 10.0g of He.A. 3.83 x 1023B. 2.41 X 1024C. 1.51 X 1024D. 6.02 x 1023 Help i don't know what to do please help If 45% of a number, n, is 225. What is 74% of n? help me pleaseeeeeeeeeeeeeeeeeeeee PLS HELP ASAP I BEG YOU Please why does a simple pendulum graph fail to pass through the origin ? Please help! Read directions and fill in the two blanks! Will give thanks and give brainliest to correct answer and will report scams or people fishing for points! Can a triangle be formed with the following measurements?: 4 m, 5.1 m, 12.5 m Plrase quick hurry !!! 26. How many covalent bonds does water have?a.1 b.2 c.3 d.4 e.5 What would be the BEST way for the Brazilian government to improve the standard of living in the country? A. The government should increase investment in public education. B. The government should nationalize the countrys major industries. C. The government should spend less on investments in human capital. D. The government should create barriers to trade with other countries. The abolition of the slave trade in Washington D.C. was included in the Compromise of 1850 to gain support of -NorthernersSouthernersWesternersWashington, D.C.