Does anyone know how to use a while loop and ask a user to input positive integers until the user enters 0 and print the sum so far after each input, then print final sum at the end in edhesive?

Answers

Answer 1

In python:

total = 0

while True:

   num = int(input("Enter a number: "))

   if num == 0:

       break

   total += num

print(f"The final sum is {total}")


Related Questions

Why does a computer need primary and secondary memory ?

Answers

Primary memory are generally faster but costlier
And secondary memory are slower but cheaper
You need a combination of both
So need most frequently used apps in your primary memory and least ones like videos photos images in secondary

Jeff took a picture of his dog that he wants to include in his paper titled “Rescue Dogs of Florida.” What tab should Jeff choose to place the picture in his document?

Home
Insert
Layout
View

Answers

Insert use the insert tab then click pictures and insert pic

Answer:

insert

Explanation:

Why is file extension important when naming the file

Answers

Answer:

Extensions are important because they tell your computer what icon to use for the file and what application can open the file

Explanation:  For example, the doc extension tells your computer that the file is a Microsoft Word file.

In most presentation software, custom animations are added from the _____.

Slide pane
Normal view
Task pane
Insert menu

Answers

Answer:

Explanation:

the answer is.....normal view

Answer:

Task pane is the answer

Explanation:

5 steps in cleaning and sanitizing smokehouse​

Answers

Answer:

Scrape or remove food bits from the surface. Wash the surface. Rinse the surface. Sanitize the surface. Allow the surface to air-dry.

Explanation: These are steps for cleaning and sanitizing.

The steps in cleaning and sanitizing smokehouse include:

Scrape or remove food bits from the surface.Wash the surface.Rinse the surface.Sanitize the surface.Allow the surface to air-dry.

Sanitization simply refers to the disinfection and cleaning of an area. This is vital on order to prevent humans from being infected or contaminated.

When sanitizing a smokehouse, it's essential to remove food bits from the surface, wash the surface. rinse the surface, sanitize the surface and then allow the surface to air-dry.

Read related link on:

https://brainly.com/question/18996117

jordan needs to create an employee handbook. the handbook will have several written pages with bold text, plain text, and numbered lists. jordan should use a (n)
A) Spreadsheet
b) database
c) e-mail
d) word processor

Answers

D

is most likely the correct answer

Name three organic materials that technology turns into products.

Answers

Answer:

Useful forms of energy that can be produced include

heat

steam

electricity

renewable natural gas

and fuels.

critics of media consumption
A. do not believe we should do away with media altogether
B. agree that our society would be better off without media
C. argues that all media is a deterrent to the growth of society
D. do not want obese children to use technology and media

Answers

Answer:

b

Explanation:

make me brainlyest plzz

sorry if i got it wrong

Answer:

b i think

Explanation:CHECK IT FIRST

what is marc railberts goal for the robots his company (Boston Dynamics) builds?

Answers

Answer:

. We wanted to build a robot that could go where people go

Explanation:

who presented pakistan resolution​

Answers

Search Results
Featured snippet from the web
Fazlul Huq, the Prime Minister of Bengal, was a formal political statement adopted by the All-India Muslim League on the occasion of its three-day general session in Lahore on 22–24 March 1940.

I got it from google!

What is an enterprise system

Answers

Answer:

Explanation:

Enterprise system is a cross- functional information system that provides organization-wide coordination and integration of the key business processes. Enterprise system helps in planning the resources of an organization.

1. What is JavaScript?
2. Who designed the Apple 1 Computer?
3. Who founded Apple?

Help me, it would be a pleasure if you could.

Answers

Answer:

1. JavaScript is a dynamic computer language used to primarily code and create system functions.

2. The people who designed the Apple 1 Computer were

Steve WozniakSteve Jobs

3. The founder of Apple was Steve Jobs. He passed away from pancreatic cancer.

Hope this helps you!

Mary is writing an article about the animal kingdom. She wants to place an image below the text. Which menu should Mary choose for this purpose?

Answers

Answer:

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

Explanation:

This question is about how to insert caption or text below the image. Marry have to follow the following steps:

Open the article in MS WordSelect the image to insert the text below it.Then go to the References menuUnder the reference group, click on the insert caption buttona popup, windows will get open, fill in it the required detail.

If you want to insert the image below the text, then you have to follow the following option.

Select the text where you want to insert the imageGo to insert menUnder the Illustration group of menu, click on pictures button, or online pictures button and select the image and click ok.

Mary needs to choose the REFERENCE menu in order to place the text in a desired fashion around the image.

Please help!! Thank youu

Answers

Pinky I think?!!????
i think it’s B: first

because if you’re right handed then it’s most likely for your first finger to touch those highlighted areas!

Use the drop-down menus to complete statements about importance and sensitivity levels. The Low Importance level is rarely used, and the High Importance level should be used . The sensitivity levels are personal, private, and . Sensitivity levels are basically only , as they appear on the Info Bar in the message.

Answers

Answer:

first blank- cautiously

second blank- confidential

third blank- informational

Explanation:

i got it correct on edge 2020

The Low Importance level is rarely used, and the High Importance level should be used cautiously.

What is cybersecurity?

Cybersecurity can be defined as a preventive practice that involves the protection of computers, networks, software programs, servers and data (information) from unauthorized access, potential theft, attack, or damage, especially by using a body of technology, frameworks, processes and network engineers.

In Cybersecurity, the use of the various security levels include:

The sensitivity levels are personal, private, and confidential. Sensitivity levels are basically only informational, as they appear on the Info Bar in the message.

Read more on Cybersecurity here: https://brainly.com/question/14286078

#SPJ2

Which of the following may be purposes of packaging?
O Help the product stand out from the competition
O Make the product easier to use
O Protect the product and the people who buy it
O All of the above

Answers

JakauehahshvasuwvevaiN

Answer:

D

Explanation:

Which of the following actions is most likely to raise legal or ethical concerns?
A
An analyst writes a program that scans through a database of open-access scientific journals and creates a document with links to articles written on a particular topic.
Sut
B
A computer scientist adds several features to an open-source software program that was designed by another individual.
с
A musician creates a song using samples of a copyrighted work and then uses a Creative Commons license to publish the song.
D
A public interest group alerts people to a scam that involves charging them for a program that is available for free under a Creative Commons license
Q

Answers

Answer:

C. A musician creates a song using samples of a work and then uses a Creative Commons license to publish the song.

Explanation:

Copyright law can be defined as a set of formal rules granted by a government to protect an intellectual property by giving the owner an exclusive right to use while preventing any unauthorized access, use or duplication by others.

A copyright can be defined as an exclusive legal right granted to the owner of a creative work (intellectual property) to perform, print, record, and publish his or her work. Also, the owner is granted the sole right to authorize any other person to use the creative work. The copyright law which protects the sharing and downloading rights of music is known as the Digital Millennium Copyright Act (DMCA).

Furthermore, an intellectual property can be defined as an intangible creation of the human mind, ideas, thoughts or intelligence.

In this scenario, a musician creates a song using samples of a copyrighted work and then uses a Creative Commons license to publish the song. This is an action that is most likely to raise legal or ethical concerns because he didn't get a license from the other musicians who he used their work.

A Creative Commons license is simply a public copyright license that allows for the free distribution of a copyright protected material and it can only be used by the intellectual property owner.

Which term refers to a fact that naturally occurs in the universe?
A.
scientific law
B.
scientific inquiry
C.
conclusion
D.
hypothesis

Answers

Answer: a scientific law

Explanation:

It’s A.Scientific law

Which type of document would be best created in Word? HELLP!!!!
Spreadsheet

Resume

Presentation

Animation

Answers

Answer:

presentation

Explanation:

because maths

Answer:

I think spreadsheet

Explanation:

Please correct me if I am wrong!

Other Questions
Which religion teaches that people are born into their position in society based upon their deeds in a previous life? 5 points Judaism Hinduism Islam Zoroastrianism "To judge from the conduct of the opposite parties, we shall be led to conclude that they will mutually hope to evince the justness of their opinions, and to increase the number of their converts by the loudness of their declamations and the bitterness of their invectives. An enlightened zeal for the energy and efficiency of government will be stigmatized as the offspring of a temper fond of despotic power and hostile to the principles of liberty. An over-scrupulous jealousy of danger to the rights of the people, which is more commonly the fault of the head than of the heart, will be represented as mere pretense and artifice, the stale bait for popularity at the expense of the public good."Alexander Hamilton, 1787Which of the following accurately reflects the excerpt? Someone help please!! First representative government in the colonies Assembled at least once a year Inspired other colonies to demand similar assembliesWhich political development in the colonies does this list describe? in which quadrant is the point (4,- 2) located What is the output of this program? numA = 10 for count in range(5): numA = numA + 2 print (numA) Diego tried out for the college basketball team but did notmake the team.What type of conflict is shaping Diego's development?A. InternalB. MainC. ClimacticD. ExternalSUBMIT What do you like about Trevor Noah? CAN YOU EXPLAIN?How does water change forms as it moves through thewater cycle? How many particles are present in this diagram? Which waves have some electrical properties and some magnetic properties?a. longitudinal wavesb. transverse wavesc. mechanical wavesd. electromagnetic waves A game store charges a monthly membership fee of $7.50, but then the charge to rent a game is only $1.00. Another store has no membership fee, but that store charges $2.00 to rent a game. How many games need to be rented each month for the total fees to be the same from either store? "What would happen if the nucleus of a cell were damaged?" Iveta takes out a mortgage of $100,000 to purchase a property. The interest rate is calculated as a simple interest rate of 5% per year. How much interest would Iveta have to pay after six years? How could you describe the maximum the LCM between two numbers could be? Which graph represents the inequality y If b= 40 degrees and c= 30 degrees, what is the measure of d? A review of the ledger of Wildhorse Company at December 31, 2020, produces the following data pertaining to the preparation of annual adjusting entries. 1. Salaries and Wages Payable $0. There are eight employees. Salaries and wages are paid every Friday for the current week. Five employees receive $750 each per week, and three employees earn $480 each per week. December 31 is a Tuesday. Employees do not work weekends. All employees worked the last 2 days of December. 2. Unearned Rent Revenue $400,410. The company began subleasing office space in its new building on November 1. Each tenant is required to make a $5,010 security deposit that is not refundable until occupancy is terminated. At December 31, the company had the following rental contracts that are paid in full for the entire term of the lease.Date Term (in months) Monthly Rent Number of LeasesNov. 1 6 $6,670 5Dec. 1 6 $6,060 4Prepaid Advertising $18,000. This balance consists of payments on two advertising contracts. The contracts provide for monthly advertising in two trade magazines. The terms of the contracts are as shown below.Contract Date Amount Number of Magazine IssuesA650 1-May $8,400 12B974 Oct. 1 9,600 24The first advertisement runs in the month in which the contract is signed.Notes Payable $56,200. This balance consists of a note for one year at an annual interest rate of 12%, dated June 1.Required:Prepare the adjusting entries at December 31, 2020. How to make 20 using the number 3,5,6,3 add Which phrase describes organisms that formed index fossils?1 are extinct 2 had soft parts3 were generally large4 lived in a narrow geographic area