Please help.

Why I'm I getting a syntax error.

Please Help.Why I'm I Getting A Syntax Error.

Answers

Answer 1

In python, the word list is a keyword. It's not meant to be used for a variable. Try changing list to lst. There also might be other parts wrong with your code. If we could take a look at your whole function, we could determine if there is anything else wrong with your code.


Related Questions

What number will be output by the console.log command on line 7? *
2 points
Captionless Image

Answers

Answer:

The output is 100

Explanation:

See attachment for complete question

I'll be making reference to the attachment time to time.

On line 1 of the attachment, variable fizz was declared

On line 2, variable bop was declared

Variable bop was initialised to 10 on line 3

Variable fizz was initialised to 20 on line 4

On line 5, 100 was assigned to bop

On line 6, 200 was assigned to fix

The value of bop was printed on line 7.

Note that, the current value of bop is not 100 (as updated on line 5).

Hence, the output of the program at line 7 is 100

Based on the program command displayed in the console, the output displayed by the console.log command would be 100.

The variable bop is assigned a value of 10 based on the command in line 3

In line 5 however, an update has been made to the bop variable, and the variable has been update to 100.

The newly assigned varibale value on line 5 would be the value of the bop variable unless updated again.

Hence, the output would be 100.

Learn more : https://brainly.com/question/20304083

HOW CAN A PERSON GET BENEFITTED BY THE ICT BASEDSERVICES PROVIDED BY GOVERNMENT

Answers

Answer:

Explanation:

It aims to transform the entire ecosystem of public services through the use of information technology.ICT holds particular promise in areas of governance and public participation.  Age can use information to reduce corruption and increase government transparency, accountability, efficiency and so finally gud night guys and take care.

plz mark as brainliest

¿En cuales situaciones concretas se puede aplicar las técnicas de conteo(particularmente las permutuaciones y las combinaciones) dentro de la informática?

Answers

Answer:

In which specific situations can counting techniques (particularly permutuations and combinations) be applied within computer science? for anybody trying to help

In most places of work, how long should it take someone to respond to an e-mail?

no obligation to respond

one hour

twenty-four hours

one week

Answers

Answer:

24 Hours

Explanation:

Now Ideally, someone when they are working should respond immediately, but its 24 hours because, if someone is in a different Timezone, Or you sent an email late and tehy read it at 12pm or something it allows them good wiggle room while giving you a dcently fast reply.

Answer: 24 hours

Explanation: It's correct

Why might be one reason a stock becomes more valuable over time?
A. The industry is growing
B. The company is well managed
C. There’s a lot of demand on the product
D. All of the above

Answers

The answer is D all of the above
D all of the above.

Describe how each command is used by matching the command to its purpose.
removes data fror
places it on the cli
Paste
cancels a previou
Undo
restores a previou
Copy
duplicates data a
clipboard
Cut
Redo
places data in its

Answers

Answer:

The correct answer to this question is given below in the explanation section.

Explanation:

The correct command matches its use are given below:

Paste   Places data in its

Undo   Cancel a previous

Copy    Duplicates data on the clipboard

Cut       Removes data for places it on the clipboard

Redo    restores a previous

Paste term is used when you are placing copied data. Undo is used to cancel a previous action performed while Redo is used to restores a previously performed action. The copy is used to duplicate data on the clipboard while Cut is used to removes data for places/ to paste somewhere else.

. Write a Python command to assign the value 80.35 to a variable called 'point'.

Answers

Answer:

point=80.35

Explanation:

PLEASE HURRY

In binary, an individual 0 or 1 is called a bit O True O False​

Answers

the answer is true !

Answer:

true

Explanation:

true

Any application that wants to be displayed on the web must use the HTTP protocol
True
False

Answers

Answer:

true

Explanation:

Select the correct answer. Which sign or symbol will you use to lock cells for absolute cell reference?
A.
ampersand
B.
asterisk
C.
dollar sign
D.
exclamation mark

Answers

Answer:

A. ampersand

Explanation:

Answer:

C. Dollar Sign

Explanation:

Select the correct answer from the drop-down menu.
Chrissie shirks the additional work given to her.
She lacks the trait of

Answers

Answer:

Responsibility

Explanation:


a.
Define a computer with its proper meaning.​

Answers

Answer:

Computer

Explanation:

a programmable electronic device designed to accept data, perform prescribed mathematical and logical operations at high speed, and display the results of these operations.

Answer:

computer

Explanation:

An electronic machine that processes, stores data, and does calculations.

Other Questions
In what way did the reunification of Germany lead to the downfall of the Soviet Union?O A. It caused United States troops to enter countries in Eastern Europe.OB. It allowed the United States to encourage education in Eastern Europe.C. It inspired countries in Eastern Europe engage in war to overthrow Soviet rule.D. It forced Soviet leaders to withdraw troops from Eastern Europe. [tex]-0.2\sqrt{x^2}[/tex] You have to simplify this Will mark brainliest! Please help I have no idea! I need your help. Excuse me, how to do the second question? PLZ HELP I WILL GIVE BRAINLIST PLZ IM CRYING BECAUSE I CAN'T DO ITPart A. Write a one page informative article about a topic of your choice. Use two different types of text structures.Part B. Explain how those structures were the best to develop the central idea of your article. What idea from these documents influenced the development of government in the American colonies? Comparing parenting to other careers Please help me answer 16 please Write the equation of the line, in point slope form that goes through the given point with the given slope. through: (-2,5), slope = -4* O y + 2 = 5(x + 4) O y - 2 = 5(x-4) O y + 5 = -4(x +2) O y- 5 = -4(x + 2) find the smallest number by which the number108 must be multiplied to obtain a perfect cube What is the nth term rule of the quadratic sequence below?-5, -3,3, 13, 27, 45, 67, ... A metal atom and a non-metal atom bond together. What type of bond do they form?Question 8 options:IonicRoundCovalentGlue heyyy can someone pleasee use the diagram to answer the true/false question xx y = (x - 4)(x-8)Distribution How did the soldiers know where the franks and van Daan's were hiding Division expression factor 2x^2-9x+9=0 and please show ur steps BRAINLEST WILL BE GIVEN TO A RIGHT ANSWER!!!! Potassium (K) has a charge of +1, and sulfur has a charge of 2. Which best describes the compound they make? A) The chemical formula is K2S, and the name is potassium sulfide. B) The chemical formula is KS2, and the name is potassium sulfide. C) The chemical formula is K2S, and the name is sulfur potassium. D) The chemical formula is KS2, and the name is sulfur potassium. hard question plz help What is the range of the function represented by the table? A 2-column table with 5 rows. Column 1 is labeled x with entries 2, 4, 6, 8, 10. Column 2 is labeled y with entries 2.5, 5.0, 7.5, 10.0, 12.5.{2, 4, 6, 8, 10}{2.5, 5.0, 7.5, 10.0, 12.5}{2, 2.5, 4, 5.0, 6, 7.5, 8, 10, 12.5}{0.0, 0.5}