Write code using the range function to add up the series 99, 98, 97,...
1 and print the resulting sum.
Expected Output
4950

Answers

Answer 1

Answer:

This program is written in python;

Comments are used for explanatory purpose;

Take note of indentations (See picure attachment)

Program starts here

#Initialize Sum to 0

sum = 0

#Iterate from 99 to 1 using range function

#The iterating variable i starts from 99 and ends at 1 with a difference of -1

for i in range(99, 1, -1):

sum+=i

#Display Result

print("Expected Output: ",sum)

#End of Program

Write Code Using The Range Function To Add Up The Series 99, 98, 97,...1 And Print The Resulting Sum.Expected

Related Questions

Which statement correctly differentiates how to use list and table styles?


Both styles can be used to change bullets in an outline.

Both styles can be used to add shading to even-banded rows.

Only the table style can be used to identify where the style can be used.

Only the list style can be used to identify to which level the style can be applied.
The correct awnser is the bottom one

Answers

Answer: Only the list style can be used to identify to which level the style can be applied.

Explanation: The styling option refers to a range of personalization such as text formating, color, themes and other appearance options which can be added to documents either to differentiate, beautify or enhab e clarity of our document. The list and table styles are different with the list styles giving freedom to enhance and refine lists while table style is used to refine documents placed in a table format. List style are for changing bullets, only table styles can be used to add shading to banded rows.

However, only the list style can be used to identify to which level the style can be applied as it offers more freedom to use and personalize than the table style.

Answer:d

Explanation:

What is 540 to the nearest TENTH?​

Answers

Answer:

500

Explanation:

no explanation, sorry

1 What do you understand by navigation through form?

Answers

Answer:

A navigation form is simply a form that contains a Navigation Control. Navigation forms are a great addition to any desktop database. Microsoft Access offers several features for controlling how users navigate the database.

Darla is going to start writing the HTML code for a web page. What would she
start with?
A. Header
B. Closing tag
C. Opening tag
D. Title

Answers

Answer:

(C) Opening Tag

Explanation:

HTML code is contained in an opening and closing tag. To start writing code you need to first type in the opening tag.

Darla can be able to start with Opening tag. Check more about HTML code below.

What are tags in HTML?

An HTML tag is known to be a part of made up language that is often used to show the start and also the ending of an HTML element that can be found in any  HTML document.

Conclusively, for Darla to be able to start writing the HTML code for a web page, she needs an Opening tag for it to start.

Learn more about HTML code from

https://brainly.com/question/24051890

#SPJ5

Which method will successfully launch the Spelling and/or Grammar Checker dialog box?

Click the Review tab on the ribbon; in the Proofing group, click on the Spelling & Grammar button.
Press the F7 key on your keyboard.
Right-click a word that is marked with a spelling or grammar error, and select Spelling or Grammar from the menu list.
All the above statements are correct.

Answers

Answer:all of the above

Explanation:

I got it correct

The correct is D. All the above statements are correct which All the above statements are correct.

To check your spelling and grammar, select the Review tab and then Spelling & Grammar.

What program is used in the word to check the spelling?

Spell checking is a unique function in Microsoft Word that lets you check your work for grammatical and spelling errors. A software program that detects misspelled words in a document is what spell check essentially is.

Grammar checkers are a great tool for people who aren't writers or are very technical. These apps help users become more fluent in the English language by pointing out their flaws. Your writing will be reviewed by Grammar Checker Tools to ensure that it is accurate and error-free.

Select Spelling & Grammar from the Review tab. In the event that Word discovers a potential error, the Spelling & Grammar dialog box will launch with red text for spelling mistakes and green text for grammatical mistakes.

Thus, the ideal selection is option D.

Learn more about the Spelling and/or Grammar Checker here:

https://brainly.com/question/16798012

#SPJ2

Write the UPDATE command to increase the commission (column name :COMM) by 500 of all the salesman who have achieved sales (Column name : SALES) more than 20000. The table’s name is COMPANY?

Answers

Answer:

UPDATE COMPANY

SET COMM=COMM + 500

WHERE SALES> 20000;

Explanation:

The update command is used for alter the record in the database management system in the table .The update command command modify the record on the some condition in the table in the database management system.

Following are syntax for using the update command .

UPDATE table-name

SET column name 1,column name 2 .........

Where condition

In the given question table -name is "COMPANY" the condition is on the sales column and it update the table only when sales is more than 20000 and set the column COMM by 500.

The UPDATE command that increases the commission column is: UPDATE COMPANY  SET COMM=COMM + 500  WHERE SALES> 20000;

The syntax of an UPDATE SQL command is:

UPDATE table_name SET column = value, where condition

From the question, the table name is COMPANY.

So, we have:

UPDATE COMPANY SET column = value, where condition

The update statement is to increment the COMM column by 500.

So, the query becomes

UPDATE COMPANY  SET COMM=COMM + 500  WHERE condition

Lastly, only columns where SALES are greater than 20000 should be updated.

So, the complete command is:

UPDATE COMPANY  SET COMM=COMM + 500  WHERE SALES> 20000;

Read more about database at:

https://brainly.com/question/15334693

PLEASE HELP!!!

If you try to ______
PowerPoint while there are unsaved changes, you will be
asked whether you want to save them.
fill in the blank.

Answers

leave (i'm pretty sure this is the answer)

If you try to close PowerPoint while there are unsaved changes, you will be asked whether you want to save them.

What is a PowerPoint presentation?

You may create projects, write text, and create presentations online using the software called PowerPoint Presentation. Slides may be created, transitions can be included, and ideas can be presented to friends or professors.

A businessman can present what he thinks or has to say by using a PowerPoint to keep his thoughts and ideas organized. Yes, I am aware. PowerPoint is something I've been using for a while now.

Basically, you press the home button in the upper-left corner of your screen, and an option that says "create a new slide" should appear there.

Therefore, if you attempt to close PowerPoint with modifications that have not been saved, you will be prompted to do so.

To learn more about PowerPoint presentations, refer to the link:

https://brainly.com/question/14498361

#SPJ5

What does tone of voice communicate?
O A. The sentence structure of a discussion
B. Nuances in meaning, including emotions
C. The time of day when people are talking to one another
D. Intentions expected from the audience

Answers

i’m pretty sure it’s B?

Answer:

B. Nuances in meaning, including emotions

Explanation:

30 POINTS!!

Type the correct answer in the box. Spell all words correctly.

What is the difference between Photoshop and Photoshop Lightroom?

The difference between Photoshop and Photoshop Lightroom is that the latter offers more _____ photo-editing features.

Answers

Answer:

technical

Explanation:

Answer:

i think it is tecnical

Explanation:

The first time a user launches the PowerPoint program, which view is shown allowing the user to access recent

presentations or create new presentations based on templates?

Answers

Answer:Click file, go to NEW then you can choose the template you would like to use to create your presenation.

Explanation:

Answer:

It might be edit view

Explanation:

write a program to output a big A like the one below

Answers

hope this helps, i'm a beginner so this might not be the most concise method

The hexadecimal number system uses alphabets A to F to represent values_ to _

Answers

Answer:

they represent values 10 to 15

they represent 10 to 15

what type of data can be entered into a electronic spreadsheet

Answers

Answer:  Labels (text) are descriptive pieces of information, such as names, months, or other identifying statistics, and they usually include alphabetic characters.

Values (numbers) are generally raw numbers or dates.

Explanation: Google.!

Why is the no video recording in iPhone camera

Answers

Answer:

it really does depend on what iphone you have but go to Settings > Privacy > Camera and disable the last app that was allowed access to the phone's Camera. check the camera app again and you should see the video recording access.

hope this helped!

Answer:

Wait is this a genuine question im not sure how to answer

Explanation:

A. Design an algorithm that takes 2 integers input from users in 2 variables, without using any other variable swap the values. Design its flow chart as well.

Answers

Answer:

The algorithm is as follows

Start Accept Input1 and Input2 Input1 = Input1 + Input2 Input2= Input1- Input2 Input1= Input1- Input2 Print Input1 Print Input2 Stop

See attachment for Flowchart

Line 1 and 8 of the algorithm starts and stops the algorithm

Line 2 accepts the two integer variables (input1 and input2)

Take for instance input1 = 5 and input2 = 4

Line 3 increases input1 by input2

At this point, Input1 = 5 + 4 = 9

Line 4 subtracts input2 from input1 and saves it in input2

i.e. Input2 = 9 - 4 = 5

Note that, the value of input2 has changed to the initial value of Input1

Line 5 subtracts input2 from input1 and saves it in input1

i.e. Input1 = 9 - 5 = 4

Note that, the value of input1 has changed to the initial value of Input2

Line 6 and 7 prints the new values of input1 and input2

The flowchart does the same thing as the algorithm; the only difference is that it uses lines and shapes to depict flow of program

The flowchart was designed using Microsoft Office Word

using substitution what is the value for x for the equations 2x+y=-3 and y=4x+6​

Answers

Answer:

[tex]x = \frac{-3}{2}[/tex]

Explanation:

Given

2x + y = -3

y = 4x + 6

Required

Find the value of x

2x + y = -3 --- Equation 1

y = 4x + 6  --- Equation 2

Substitute 4x + 6 for y in equation 1.

So, equation 1 becomes

[tex]2x + 4x + 6 = -3[/tex]

[tex]6x + 6 = -3[/tex]

Subtract 6 from both sides

[tex]6x + 6 - 6 = -3 - 6[/tex]

[tex]6x = -9[/tex]

Divide both sides by 6

[tex]\frac{6x}{6} = \frac{-9}{6}[/tex]

[tex]x = \frac{-9}{6}[/tex]

Simplify fraction

[tex]x = \frac{-3}{2}[/tex]

Hence, the value of x is [tex]x = \frac{-3}{2}[/tex]

Suppose you are an ad-serving company and you maintain a log of cookie data for ads you serve to the Web pages for a particular vendor (say Amazon). a. How can you use this data to determine which are the best ads? b. How can you use this data to determine which are the best ad formats? c. How could you records of past ads and ad clicks to determine which ads to send to a given IP address? d. How could you use this data to determine how well the technique you used in your answer to part c was working? e. How could you use this data to determine that a given IP address is used by more than one person? f. How does having this data give you a competitive advantage vis-à-vis other ad-serving companies?

Answers

Answer:

A

Explanation:

thethe more you have attached the more people are going to know your product so that it's going to be a long process which people can introduce to their friends

When checking for a no-start concern, you notice that an engine has no spark. Technician A says to turn on the ignition (engine off) and, using a DMM, find out how much battery voltage is available at the negative terminal of the ignition coil. Technician B says the DMM reading should fluctuate, indicating that the primary coil current is being turned on and off. Who is correct?


A. Neither Technician A nor B

B. Both Technicians A and B

C. Technician B

D. Technician A

Answers

Answer:

Option(C) is the correct answer to the given question.

Explanation:

Since overall the On-Board Diagnostics of the level 2 the computer systems need to evaluate the cause of the engine failures .The malfunction significantly increases in the fuel consumption, so that we can detecting the error code in the vehicle.

If we starting the engine as well as by using the DMM, we'll  see how much battery voltage it is at the negative ignition coil node.If the spark module is faulty and no ignition coils can fire so all the engines are working that's why all the other option are incorrect .

30 POINTS!!

Type the correct answer in the box. Spell all words correctly.

Jason needs to learn a new web tool. He went through his books to understand more about it. Now he wants hands-on experience with using that tool. What would help him?
Jason can use ______ websites where workspace is provided to test the results of your code.

Answers

Answer:

online

the answer is online

every input/output of a computer is effectively a type of?

Answers

Answer:

I think the answer will be information

What is true about teen pregnancy and parenting? Teen parents and their child experience little effects that are different from other families. Teen parents often have an easier time parenting because they have more energy than older parents. Children of teen parents often lag behind developmentally. Teen parents may have trouble finding jobs.

Answers

Answer:

I think its "Children of teen parents often lag behind developmentally." But I'm not for sure

Answer:

D) Teen parents may have trouble finding jobs.

Explanation:

This is the correct answer!! I took the test, Hope this helps!!:)

Which of the benefits below make using an Infrastructure as a Service (IaaS) provider a better option than purchasing dedicated physical hardware? Check all that apply.

Answers

Question:

Which of the benefits below make using an Infrastructure as a Service (IaaS) provider a better option than purchasing dedicated physical hardware? Check all that apply.

A) Having low initial costs

B) Using a server for a short amount of time

C) Not needing to manage physical servers

D) Having complete control over your physical infrastructure

Answer:

The correct options are A, B and C.

Explanation:

Infrastructure as a Service is simply a service which affords businesses the option of outsourcing their Hardware technology needs especially as it relates to computing.

It is a cloud-based service. Common examples include but are not limited to

Amazon Web Services (AWS)Google Compute Engine (GCEDigitalOcean Microsoft Azure

As highlighted above, they offer small business the advantage of high-quality IT infrastructure at very affordable costs. Businesses that want to shed the cost of their IT infrastructure whilst increasing their computing powers are most likely to purchase these services. E.g. start-ups or companies reviewing/implementing a cost restructuring.

Of course, one of the disadvantages of (IaaS) is that companies have to forfeit complete control of their physical infrastructure. Furthermore, because it is online, computing speeds may be dampened by internet speed.

Cheers!

You’re mapping out the logical relations of a database, and you notice that one of your tables will have a pair of child records for every record created in the parent entity. What type of relationship do these tables have?

A. One-to-many
B. Pair of one-to-many relationships
C. Many-to-Manu
D. One-to-one

Answers

The answer to your question is answer A

The type of relationship that these tables have is (B), Pair of one-to-many relationships.

What is one-to-many relationships?

A one-to-many relationship is a type of relationship between two tables in a database where one record in the parent table can have multiple child records in the child table. In this case, one record in the parent table will have a pair of child records in the child table, so the relationship between the two tables is a pair of one-to-many relationships.

For example, a table of employees could have a one-to-many relationship with a table of dependents. Each employee could have multiple dependents, so each record in the employees table would have a pair of child records in the dependents table.

Find out more on database here: https://brainly.com/question/31089407

#SPJ2

Other Questions
First answer, Ill mark the brainliest . Your cousin Vinny wants to borrow $23750. Hes willing to pay you back over 8 years with simple interest. Your alternative is to invest in the $23750 into an account paying 7.75% compounded monthly. A) How much interest would you earn in your investment if you deposit $23750 into an investment account for 8 years? Round to nearest cent. B) What annual interest rate to you charge Vinny in order to make the same amount of interest on his loan as your investment account? Round to nearest hundredth of a percent. I am writing a paper on the racism and discrimination Asians have faced because of the corona virus and I need help with the thesis statement 7.A layer of sedimentary rock is older than the layer above it based on the Law of _____.Report an ErrorSuccessionSuperpositionOriginal HorizontalityCross-cutting What is characterization? the process by which authors reveal how characters are connectedthe process by which authors reveal the names of charactersthe process by which authors reveal the personalities of charactersthe process by which authors reveal the problems faced by characters and livedSiddhartha was raised as ain a palace.A HinduB princeC were young manD. all of the above Scientists find trilobites during a routine dig. Trilobites were common in the Paleozoic Era (540 to 245 million years ago) and went extinct during the late Permian period (248 million years ago). On another site, the scientists find ammonites. Ammonites lived during the Mesozoic Era (245 to 65 million years ago) and are not found after that period. What can be concluded about the rock layers? Choose all that apply.A The rock layers must have formed at the same time because they both contain biozones.B The rock layer containing the trilobites must have formed before the one containing the ammonites. C The rock layer containing the trilobites must have formed after the one containing the ammonites.D The rock layers must have formed at different times because they contain two different biozones. Please help! Correct answer only!Cooper and Alice made a list of 7 psychology experiments they want to try at home. Each experiment tackles one specific psychology topic. 5 of the experiments involve cats.If Cooper and Alice randomly choose 4 experiments to try over the summer, what is the probability that all of them involve cats?Write your answer as a decimal rounded to four decimal places. Which of the following would be part of the Republican Party platform?Creating a new public health care systemBanning hand gun useReducing the size of governmentRaising taxes on the wealthy Please help . Ill mark you as brainliest if correct! Only the one marked with an X is wrong . I dont get it democracy can only succeed with capitalism? True or False Mercury has a mass of 3.3 e 23 kg and a radius of 2.44 e 6 m. Find Mercury'sgravitational field strength. Show your work (formula, rearrangement, work, answer,unit, sig dig) (4)12. Venus has a mass of 4.87 e 24 kg and a radius of 6.05 e 6 m. The gravitational field strength at the surface of Venus is what? m/s2 13. A small Styrofoam ball has a 2.26 nC charge (2.26 x 10C). Find the electric field strength5.00 cm (0.0500 m) from the ball. Show your work complete with formula, work, unit andsig digs) (4) I know this is easy but can someone answer this ? What is Hesss law please help Match each linear equation with the name of its form.y=-x+8slope-intercept form2x - 5y = 9standard formy + 6 = -3(x - 1)point-slope form A smart-phone is thrown upwards from the top of a 240-foot building with an initial velocity of 32feet per second. The height h of the smart-phone after t seconds is given by the quadratic equationh = - 16t2 + 32t + 240. When will the smart-phone hit the ground? The common field cricket chirps in direct proportion to the current temperature. Adding 40 to the number of times a cricket chirps in a minute, then dividing by 4, gives us the temperature (in Fahrenheit degrees). Write a program that accepts as input the number of cricket chirps in fifteen seconds, then outputs the current temperature Give your own responses to issues raised inIkemetuna sub-story in THINGS FALL APART In 2021, the Marion Company purchased land containing a mineral mine for $1,150,000. Additional costs of $448,000 were incurred to develop the mine. Geologists estimated that 310,000 tons of ore would be extracted. After the ore is removed, the land will have a resale value of $110,000.To aid in the extraction, Marion built various structures and small storage buildings on the site at a cost of $102,300. These structures have a useful life of 10 years. The structures cannot be moved after the ore has been removed and will be left at the site. In addition, new equipment costing $51,500 was purchased and installed at the site. Marion does not plan to move the equipment to another site, but estimates that it can be sold at auction for $5,000 after the mining project is completed.In 2021, 41,000 tons of ore were extracted and sold. In 2022, the estimate of total tons of ore in the mine was revised from 310,000 to 397,500. During 2019, 71,000 tons were extracted, of which 51,000 tons were sold.Required:a. Compute depletion and depreciation of the mine and the mining facilities and equipment for 2018 and 2019. Marion uses the units-of-production method to determine depreciation on mining facilities and equipment.b. Compute the book value of the mineral mine, structures, and equipment as of December 31, 2019. Two bags contain coloured cubes. Bag 1 has 3 red cubes and 1 blue cube.Bag 2 has 3 green cubes, 1 yellow cube, and 1 red cube.Is the probability that you will get a red cube from Bag 1 and the yellow cube from Bag 2 more or less than the probability of getting the blue cube from Bag 1 and a green cube from Bag 2? Explain.