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

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 !!!!!!!!

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.

What is output by the code below?


print("Comp Sci")

print("Rocks")

Answers

Answer:

If this is python the output will be:

Comp Sci

Rocks

Explanation:

When you print something it will output that line. However, when you print something in python it automatically skips a line. For instance you told print Comp Sci. And then you asked python to print Rocks. Python will output those two things on two separate lines. Thus proving the answer is:

Comp Sci

Rocks

hope this helps!

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

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)

3.Choose the correct container for sugar
A:bag of sugar
B:Can of sugar​

Answers

Answer:

bag of sugarrrrrrrrrrr

Answer:

The answer is A. bag of sugar

Consider the following code:
x = "apple"
y = x
z = "banana"
print(x + " " + y + "\n" + 2)

Answers

Answer:

apple apple

banana

Explanation:

Given - Consider the following code:

x = "apple"

y = x

z = "banana"

To find - print(x + " " + y + "\n" + z)

It will print -

apple apple

banana

First will apple followed by '' '' that is space then y which is equal to x that is apple then followed by ''\n'' new line then banana.

So, The answer would be

apple apple

banana

Notation used -

'' '' represents space between two values

''\n'' represents new line

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.

define file in context of computer programming​

Answers

a file is a computer resource that stores data, info, settings or commands discreetly in a computer storage device. a file may be written to display icons, a written message, or a computer program and other kinds of data.

Which of the following statements represents a scientific bias?


Clean all containers to remove residue from the previous steps.

Use data from the previous steps because they show better results.

Make sure to follow every step in the procedure.

The scale needs to be calibrated to ensure accuracy.

Answers

Answer: Use data from the previous steps because they show better results

Explanation:

A scientific bias occurs when there's a deviation between the observations of a researcher and the accurate representation of data and results.

In this case, the use of data from the previous steps because they show better results will bring about a data bias as it'll lead to inaccuracies of the data being represented.

Given the following class code: public class RecurseSample { public static void main(String[] args) { System.out.println(recurse(3)); } public static int recurse(int n) { int total = 0; if (n == 0) { return 0; } else { total = 3 + recurse(n - 1); } return total; } } What values will be printed when this code is executed?

Answers

Answer:

The output of the given code is "9".

Explanation:

In this question, a class "RecurseSample" inside the class a "recurse" method is declared that holds that holds an integer variable as the parameter, and inside the method a total variable is declared and uses a conditional statement to check the n variable value that is equal to 0 if it is true it will return 0. In the else block it call the method and add value in the total variable, and returns its value. In the main method, the print method is used that prints the above method values.

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.

What is the purpose of the website directory provided by the website host?

A. to look up user account information
B. to provide help and training for new customers
C. to store all of a website’s content files
D. to archive website usage logs

Answers

Answer:

mabye A

Explana

.

.

.

What is a conflict?
Contentment
Disagreement
Harmony
Peace-keeping

Answers

Answer:

conflict is a Disagreement

Which step comes last?

Gather data from the user.
Process the data.
Check for accuracy.
Output the result.

Answers

Answer: Process the data

Explanation: i took the test

Answer:

The answer is Check for accuracy

Explanation:

A video streaming website uses 32-bit integers to count the number of times each video is played. in anticipation of some videos being played more times than can be represented with 32 bits, the website is planning to change to 64-bit integers for the counter. which of the following best describes the result of using 64-bit integers instead of 32-bit integers? a. 2 times as many values can be represented. 32 times as many values can be represented. 2^32 times as many values can be represented. 32^2 times as many values can be represented. I know the answer is 2^32 but can someone explain it to me?

Answers

Answer:

2³² times as many values that can be represented

Explanation:

A 64 bit register can hold 2⁶⁴ different values, while a 32 bit register can hold 2³² different addresses

Therefore, a 64 bit can represent 2⁶⁴ ÷ 2³² = 2³² times as many values as can be represented by 32-bit

Therefore, the 64 bit can represent 2³² times as many values that can be represented by a 32 bit integer

Which of the following would have the largest text on a web page?




Answers

Answer:

style=text-align: right

Explanation:

text-align is a CSS property having 5 types of values. Each of values define below.

left - Aligns content to left.

right - Aligns content to right.

center - Centers the content.

justify - Depends on the width of the content, it will align itself to both left and right

inherit - It specifies the the value of text-align should be taken from parent element.

Explanation:

lol

In two to three sentences, describe some techniques you could use to save time when working with a spreadsheet.

Answers

Answer: Everything is neatly organized on a spreadsheet so that you can access information faster. You can use features like shortcuts and auto-fill for you to save time.

Explanation:

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:

Design a TestScores class that has fields to hold three test scores. The class should have a constructor, accessor and mutator methods for the test score fields, and a method that returns the average of the test scores. Demonstrate the class by writing a separate program that creates an instance of the class. The program should ask the user to enter three test scores, which are stored in the TestScores object. Then the program should display the average of the scores, as reported by the TestScores object.

Answers

Answer:

Answered below

Explanation:

class TestScores {

double test1;

double test2;

double test 3;

public TestScores (double test1, double test2, double teat3){

this.test1= test1;

this.test2 = test2;

this.test3 = teat3;}

//mutator

public setTest1(double test1){

this.test1 = test1;

}

//accessor

public double getTest1(){

return test 1;

}

//Write same accessors and mutators for test2 and test3

public double getTestAverage(){

double sum = test1+test2+test3;

return sum / 3;

}

}

class TestRun{

public static void main (String [] args){

TestScores scores = new TestScores(50.5, 40.0, 80.7)

int average = scores.getTestAverage();

System.out.print(average);

}

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

Answers

17, 12.5, 6, and 10. HOPE THIS HELPS

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.

If we increase the height of the pendulum, we will increase the potential energy in the system. What effect would this have on kinetic energy?

Kinetic energy will decrease by the same amount.
Kinetic energy will increase by the same amount.
Kinetic energy will not change.
Kinetic energy will increase by half the potential energy.

Answers

Answer:

yo I need points so I'm answering this sorry

Answer:

your kinetic energy will increase by the same amount

Explanation:

think of a yoyo or any weighted object on the end of a string imagine swinging it in a circle and putting your finger in it so it wraps around your finger the object spins faster as the string shortens

I hope this helped

you must regularly do this on your computer to prevent a virus from infecting it​

Answers

Answer; Install Anti-Virus/Malware Software. ...

Keep Your Anti-Virus Software Up to Date. ...

Run Regularly Scheduled Scans with Your Anti-Virus Software. ...

Keep Your Operating System Current. ...

Secure Your Network. ...

Think Before You Click.

Explanation:

i took the test

Answer:

Clean out unneeded folders, scan your pc with an anti virus, use a vpn, and download from trusted websites

Explanation:

while
norma
mean
cinta
to the user
a.) Define the term microcomputers.​

Answers

Explanation:

Microcomputers are computers designed around a microprocessor, smaller than a minicomputers or a mainframes.

Hope it will help :)❤

What is the pencil tool in photoshop

Answers

Answer:

I think its to draw on the photo.

Explanation:

Answer:

draw

Explanation:

it opens the drawing menu

1 pts Question 5 Which of the following calculations would evaluate to 12? (36) + 2/2, 3* ((6+2)/2), 3* 6+2/2, (306+ 2)/2​

Answers

Answer:

Could you seperate them if they are different answers? I'm lost, sorry!

Explanation:

Which software helps you upload content for live streaming
OA OnlineStream
OB. Firewire
OC. PPLive
OD. Blogger

Answers

Answer:

a online stream i ting please mark brainilest

Explanation:

write 3 things that can't be done without technology. write your opinion?

Answers

Answer: Call a theater to get movie times, Use a phone book to find a company to do work around your house, and Park your used car on the street with a sign that says it’s for sale.

Explanation: my opinion is that it's fine to do each of those things without technology. Because technology is supposed to help the limited capacity of the human brain and improve things that make every day life quicker, easier, leaves more time to do something else.

Answer:

1) Filming, depending on the camera it is still technology that everyone uses on a daily bases with no hesitation for use.

2) Vehicles, I'm not sure if they are a type of technology but for this case lets just say they are. With vehicles we can get to places much faster then walking or taking a carriage.

3)Records, in this case music. Without records or anything of the sort we wouldn't exactly be able to listen to our favorite music at all times.

Other Questions
(Conjugate please)Alberto le explica qu pas cuando Daniel estaba en el partido de ftbol. Completa la conversacin que tienen Alberto y Daniel con el verbo correcto y conjgalo en el pretrito o el imperfecto, segn el caso. Presta atencin a los pronombres reflexivos tambin.saber estar mirar silbar pasar meterDaniel: Alberto, Qu ______? No entiendo por qu todos los espectadores me _________ de repente con sus ojos tan intensos.Alberto: Bueno, t _________ muy fuerte y aqu en Colombia silbar no significa lo mismo que en Estados Unidos.Daniel: Ay, caramba! Yo no ________. El jugador nmero once __________ el gol de chiripa y yo _________ muy emocionado en el momento. Which of the following BEST describes the effect of the Roosevelt Corollary on the Monroe Doctrine?A)It allowed the United States to set up aid facilities in Latin America.B)It allowed the United States to build infrastructure in Latin America.C)It allowed the United States to act as a police power in Latin America.D)It allowed the United States to send military reinforcements to Latin America. I need help!Ive been struggling on this worksheet for so long! PLEASE HELP 30 POINTS PLS PLS What does this sentence mean? Jesus became what we are, so that we might become what he is. Piliin ang pang-abay na ginamit sa bawat pangungusap:Isulat ang sagot sa sagutangpapel1. Mahinay na inangat ng bata babasaging pinggan.2. Ang nanay ay taimtim na ipinagdarasal ang kanyang mga anak.3. Matiyagang naghihintay ang aso sa kanyang amo.4. Dahan-dahang hinigop ni Anna ang mainit na sabaw.5. Ang tula ay buong husay na binigkas ni Paulo. 9. Zuleyka compr una bicicleta por $149. Pag un pronto de $50. Si pag $9semanalmente, cuntas semanas le tom a Zuleyka pagar la cantidad completa de labicicleta? *(1 Point)OA.5B 9C11D16 1.What important position was Andrew Young appointed to during the Carter administration?A.Attorney GeneralB.Ambassador to the United Nations C.Foreign secretary of war D.Secretary of State2.Which statement best describes the importance immigrant communities have on Georgia's economic growth? A.Immigrants communities are important economically because they bring religious diversity to communities.B.Immigrant communities are important economically because they encourage the growth of multilingual programs at schools.C.Immigrant communities are important economically because they assist in many jobs and businesses strengthening the workforce. D.Immigrant communities are important economically because they increase the awareness of racial discrimiination.3.Which statement best describes the impact immigrant populations have on Georgias communities?A.Georgias communities are minimally impacted by immigrant populations.B.Georgias communities have seen an increase in the number of restaurants, churches, and various businesses owned and operated by immigrants. C.Georgias communities have seen a decrease in the ethnic diversity of many of its major cities.D.Georgias communities have seen an influx of immigrants from only Latin American countries. 5.What was the significance of Maynard Jackson serving as mayor of Atlanta?A.He was the first foreign-born mayor of AtlantaB.He was the first non-college educated mayor of AtlantaC.He was the first Republican mayor since ReconstructionD.He was the first black mayor of a major Southern city6.Which of the following provide the main source of growth to our economy by risking their own time and money to build new products and businesses?A.Business ManagerB.CapitalistC.EntrepreneurD.Property Owner What position did Andrew Young occupy as the first African-American since Reconstruction?A.Serve as a Congressmen from GeorgiaB.Serve as mayor of a major Southern cityC.Be elected as governor of a Southern stateD.Be elected to the school board of Atlanta Public Schools11.How did Maynard Jackson and Andrew Young help Atlanta develop SOCIALLY?A.They both pushed for integration of the public schools.B.They both held weekly meet the mayor gatherings at City Hall.C.They both helped minority-owned businesses get contracts.D.They both insisted on strong policing to reduce the crime rate.Why was the expansion of the Port of Savannah economically important to Georgia?A.It helped Georgia's fishing industry grow and prosper.B.It helped bring more international tourists to Savannah.C.It helped Savannah become a center of film production.D.It helped Georgia increase its role in international trade. How many solutions does the system of equations have?x = -3y + 4 6y + 2x = 8 answer this question.......asap Which article or group of articles addresses the protection of rights?Article IArticle IIArticles IIIVI and IXArticles VIIVIII Paper clips are sold in boxes of 1000.Each box costs 15.40The table below shows the discount offered for large orders.Ethan orders 5 boxes of paper clips.Work out the amount of discount Ethan gets. Please help me out, I'd love it, thank you. Which of the following is a synonym for the word innovation?advancecorrectionadjustment(I'll give brainliest to the correct answer with pRoOf) A student was explaining to the class about freshwater and the importance that it has to everyones life. What is NOT true about freshwater biomes? A. Freshwater biomes are found all over the world B. There is a wide variety of climates that have freshwater biomes C. There are different types of bodies of freshwater biomes D. They have more than 5% salt content If you can do this help out Match the WWII leader to their country.Germany Italy Soviet Union Japan France United States Great Britain If you do not know it dont answer When a rectangle is rotated about one side forms which solid? A. Rectangular pyramid B. Cylinder C. Sphere D. Rectangular prism Does anyone remember a manga with 2 hacker twins boys and there mom is a twin and she get in a accident and lose her memory then her place is taking by her sisterI really need help I cant find it anymore LOOK AT THE PICTURE!! which graph shows the solution to the system of equations?y =-2x+1 and y =-3/2 Describe the processes for precertification using the paper method. What does the medical assistant need to do?