Can anyone please help me with how to use a while loop to ask a user to input positive integers until the user enters 0 and at the
end, print the largest number of all the integers entered.

I can send an example if needed

Answers

Answer 1

In python 3:

def main():

   largest = 0

   while True:

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

       if number == 0:

           print(largest)

           return

       elif number > largest:

           largest = number

if __name__ == "__main__":

   main()

I hope this helps!


Related Questions

What is an Odometer (Driver's Ed)

Answers

Answer:

It's the thing that indicates the total number of miles the car has been driven.

Explanation:

I hope this helps!

Answer:

an instrument for measuring the distance traveled (as by a vehicle)

Explanation:

Hope this helps! <3

Joann wants to save the building block she created for the title of her company.
In which file does she save this building block?
O Building Blocks.dotx
O Building Blocks.html
O Building Blocks. thmx
O Building Blocks.qpbb

Answers

Answer:

The actual answer is A.

Explanation:

Answer:

a

Explanation:

What kinds of useful tags might you use to help you organize and find the documents in the future?

Answers

Answer:

you can use color tags(blue for biology) or just simply word tags (biology for biology)

Explanation:

Hope this helps a little.

The useful tags might you use to help you organize and find the documents in the future insertion point.

What is the use insertion point?

If any user or person scrolls the following contents by using the keyboard from one position to another position in the document of the user then, the insertion point moves automatically without any implementation when the user presses any key they want. If the user clicks on the arrow keys then, it also works like that.

The <dd> tag is used in HTML document to explain set of terms. The <dd> tag list is used in conjunction with the <dl> term. Inside a <dd> tag we can insert text, sentence, paragraph or links. There are 4 primary tags to build any website. Every HTML document begins and ends with HTML tag.

The PCR stands for 'Patient Care Report.' It is a legal document that needs to have all the procedures done to the patient. This document becomes part of the patients permanent medical record and is used in court in legal cases. It is also used to bill medical expenses.

Therefore, The useful tags might you use to help you organize and find the documents in the future insertion point.

Learn more about insertion point on:

https://brainly.com/question/14274782

#SPJ2

Why is it important to proofread your documents ?

Answers

Proofreading can make sure that your document is completely free from errors to a high standard.

Answer:

It's important to proofread your documents to make sure that you don't have any avoidable mistakes.

Explanation:

Avoidable mistakes include grammar, sentence structure, and word choice.

Question 12 (1 point)
Generally, each pixel in an image creates 25 bytes of data.
True
False

Answers

Answer:

This is B: False

Explanation:

Each pixel of an image creates 24 bits, or 3 BYTES of data for color, and 1 byte for black and white.

how major is the technology problem in the United States? Why is it such a big problem?

Answers

Answer:

Explanation:

the problem is predators can get to children easier through the internet

Type the correct answer in the box.
How can users prevent broadcasting their existing connections?
User can make the BLANK name invisible, thereby preventing the hackers from knowing about an existing connection.

Answers

Answer:

User can make the network name

Answer:

The correct answer is: SSID

Explanation:

Hiding the SSID involves preventing the broadcast of the SSID name. Users can make the SSID name invisible to prevent hackers from knowing about an existing connection.

The way things are arranged on a publication is referred to as the _____.

style
guides
layout
scheme

Answers

Answer: I’m pretty sure it’s layout

which are the two alternatives for pasting copied data in a target cell groups

Answers

Answer:

Excel has decided to paste contents into a single cell, rather than keeping data in columns. When copying from a query in SQL that has data in a table, pasting it into Excel would normally split the data into the columns - keeping the table. But Excel has automatically changed and takes out the table, pasting each row into one cell.

Explanation:

A financial manager was completing an annual report that contained multiple graphs explaining the company growth. If she wanted to cross-reference these graphs throughout the document, she should use the _____ feature. biliography citation caption footnote

Answers

Answer:

Caption

Explanation:

because it just works.

After a new technology is purchased, what are some additional costs that must be incorporated into an upgrade budget?

Answers

Answer:

Depends

Explanation:

If corprate then education,

if home then premium software,

if school educational software.

HOPE THIS ANWSERS YOUR QUESTION

IF NOT, MESSAGE ME!

What does the Merge and Center feature do? Check all that apply.

O adds borders to a group of cells in a range
O centers an image in the middle of a worksheet
O combines multiple cells into a single cell
O centers the alignment of text in the cell
The answer is the last 2 this question just isn't on brainly so I thought i'd add it

Answers

Answer:

O combines multiple cells into a single cell

O centers the alignment of text in the cell

Explanation:

wanted the points lol

Answer:

3

4

Explanation:

Average of Grades - Write a program that stores the following values in five different variables: 98, 87, 84, 100, 94. The program should first calculate the sum of these grades and store the result in a variable named sum. Then, the program should divide the sum variable by 5 to get the average. Display the results on the screen. The program output should look similar to: The average of the grades is 92.6.

Answers

Answer:

Not sure what language, but in python a super basic version would be:

val1 = 98

val2 = 87

val3 = 84

val4 = 100

val5 = 94

sum = val1 + val2 + val3 + val4 + val5

avg = sum / 5

print(avg)

Explanation:


1. Problem solving is
(4 Points)
O A. highly interactive
B. collaborative
C. Both And B
D. Designing an App

Answers

Answer:

A

Explanation:

1. Problem solving is

(4 Points)

O A. highly interactive

B. collaborative

C. Both And B

D. Designing an App

what are the weakness of a computer somebody plzz tell me​

Answers

Answer:

The computer, in spite of its strengths and the denials of its missionaries, does have a number of weaknesses. These can be seen in three areas: first, the machine itself, second, the people who serve it and, third, its output.

Which of the following is an advantage of algorithmic thinking? Select all that apply. Easier to understand Easier to understand Increases flexibility Increases flexibility Less complex Less complex Written as a flowchart or natural language


Please help Ill do anyting

Answers

Answer:

gjjsh was also very good morning 8PM and block the money from her husband

Which of the following is an advantage of the Apple operating system compared with its counterparts?
A. It can run on several different platforms.
B. It has greater compatibility with applications.
C. It has a large technical support base.
D. It is less susceptible to viruses.

Answers

Answer:

A. It can run on several different platforms.

Explanation:

Can someone help me with these questions it's for drivers ed

Answers

Answer:

OK

Explanation:

1= I

2= C

3= H

4= B

5= E

6= G or J

7= D

8= A

9= F

10= G or J

Which option ensures that a page break is automatically inserted ahead of a specific paragraph or heading?

the Page Breaks Before option in the Paragraph dialog box
the Keep With Next option in the Paragraph dialog box
the Keep Lines Together option in the Paragraph dialog box
All of the above options are correct.

Answers

Answer:

All the above options are correct

Answer: d

Explanation:

Match each scenario to the absolute value expression that describes it. 1. the distance moved when going backwards five spaces in a board game |-5| 2. the amount of improvement when increasing your grade by 7% |+7| 3. the change in height when climbing a 5-foot wall |+5| 4. the change of an account balance when spending $8 |-8| 5. the effect of eating five out of one dozen pears |+8| 6. the amount of change when the temperature rises from 5°C to 13°C |-7| i will mark brainlist

Answers

Answer:

that is what it looks like now you should know what the answer.

Explanation:

The standard format rules for a professional letter should be followed.
True
False

Answers

The answer is, true.

what is a subjective point of view

Answers

Answer:

one based on opinion rather than fact, upon which reasonable people could disagree.

Explanation:

An example of a subjective point of view is a position taken on whether a movie or book is good or bad

what type of exel function searches for a specific value in your data using the spreedsheet columns and an unique identifier within those columns

Answers

Answer:

Excel's vLookup formula pulls data from one spreadsheet into another by matching on a unique identifier located in both spreadsheets. For example, we want to add a column for email address but that data exists on a separate spreadsheet.

Explanation:

Question 2 of 5

Which detail from the story is part of the rising action?

O A. Mr. White is sorry he ever wished on the monkey's paw.

O B. Mr. White wishes his son were back in the cemetery.

C. The author establishes that the story begins on a cold, wet night.

O D. Mr. White pulls the monkey's paw from the fire.

SUBMIT

Answers

Answer:

D. Mr. White pulls the monkey's paw from the fire.

Explanation:

Rising action refers to the events in the stories that bring suspense and interest. It includes the crucial decisions and important events that leads towards the climax of the narrative. Rising actions focuses on the flaws that the characters possesses and create a space of tension.  

In the story, "The Monkey's Paw" the rising action is observed when Mr. White pulls the monkey's paw from the fire to make the third wise respectively.

Answer:

Mr. White pulls the monkey's paw from the fire.

Explanation:

What is computer. Write full form of mips​

Answers

Answer:

Stands for "Million Instructions Per Second." It is a method of measuring the raw speed of a computer's processor. ... The MIPS measurement has been used by computer manufacturers like IBM to measure the "cost of computing." The value of computers is determined in MIPS per dollar.

What is better in everybodys opinion. AMD or Intel?

Answers

Answer:

Intel is more for work and such, while AMD is foucsed on gamers. I use AMD because I play many games, but it really depends on what you use your computer for.

Explanation:

it depends Explanation:AMD wins the CPU war overall right now, but depending on your needs, an Intel processor could still be the better choice. If you want the best in overclocking, gaming or software support, or if you want productivity performance without buying a discrete GPU, Team Blue has the advantage. But if you want the best balance of price and performance in the Intel vs AMD lineup, Team Red deserves your money.

? Assessment
8/10
Which of the following products likely include Internet of Things (IoT) connected
devices?
A soap dispenser that dispenses soap
when it detects a hand underneath.
A smart toilet flushes automatically
after use.
Lights that turn on when someone
enters the bathroom.
None of the above

Answers

Answer:

none of the above

Explanation:

When would you use the Reading View in Word?

To add an image to the document
To have Word Online read the document to you
To make changes to the document
To read the document without any distractions

Answers

Answer:

D: to read the document without any distractions

To read the document without any distractions is used in the reading View in Word. Thus, option D is correct.

What is an Inference?

This refers to the deductions or conclusions that are made about a particular thing or idea based on available evidence, background information and powers of conclusion.

Hence, we can see that from the given text, Nicholas Carr is quoted as saying that reading online makes people to be 'mere decoders of information.' and this makes people become less engaged as they tend not to use their ability to interpret texts less and less.

Based on the given text, it can be seen that Nicholas Carr believes that reading online makes people not connect as deeply as reading without distraction, which can be an inference, to offline reading.

Therefore, To read the document without any distractions is used in the reading View in Word. Thus, option D is correct.

Learn more about document on:

https://brainly.com/question/27396650

#SPJ2

what are the 2 things you are not sure about evaluating functions​

Answers

Answer:

every thing

Explanation:

Answer:

To evaluate a function, substitute the input (the given number or expression) for the function's variable (place holder, x). Replace the x with the number or expression. 1. Given the function f (x) = 3x - 5, find f (4).

A function is a relation in which each input has only one output. In the relation , y is a function of x, because for each input x (1, 2, 3, or 0), there is only one output y. x is not a function of y, because the input y = 3 has multiple outputs: x = 1 and x = 2.

A formula is an expression which calculates the value of a cell. Functions are predefined formulas and are already available in Excel. For example, cell A3 below contains a formula which adds the value of cell A2 to the value of cell A1.

Explanation:

One day you tap your smartphone screen to turn it on, and nothing happens. It appears to be turned off and will not turn on. What should you try first to fix it?

perform a soft reset

plug it into a charger for an hour
submerge it in a bag of rice for 24 hours
perform a hard reset

Answers

Answer:

B) Plug it in

Explanation:

Though the other answer would be helpful in a real life situation, the correct choice on ed g e is b) :)

plug it into a charger for an hour
Other Questions
Can someone please help me answer this common lit assessment question, and if you know the other one please state it. Thanks When two or more elements combine chemically, they form a(n) Which statement accurately compares the trends in atomic number and atomic mass in the periodic table?The atomic number increases from left to right, while the atomic mass increases from right to left.The atomic mass increases from left to right, while the atomic number increases from right to left.Both the atomic mass and the atomic number increase from left to right.Both the atomic mass and the atomic number increase from right to left. What is the answer to 0.75 (6+d)=12 step by step Dear Editor Fascinating grammar/spelling the other night on the second evening of the NBC movie 10.5. The movie was bad enough ... 30 minutes of action crammed into four hours of viewing. What really caught my attention was the writing. Yes, the plot was wretched, the emoting was pathetic. Yet there was something even more glaring in this age of butchering the English language. I pine for the days of correct English when "you know" and "like" didn't crop up as every other word! Stinson Mix, Farmersville, TX What should Mr. Mix add to his letter to make it more convincing? Find the slope of the line Calculate the wavelength of light (in nm) of the spectral line of Hydrogen where an electron falls from the 6th Bohr orbit to the 3rd Bohr orbit. a) 540 nmb) 2000 nmc) 1090 nmd) 1050 nm dose anny one know chinese? A gym offers two membership options. To be a member, there is a $150deposit required, and then members pay $20 per month. Nonmemberspay $30 per month. How many months must a person go to the gym inorder for the membership to be worthwhile? Solve the problem by writingand solving an equation. Then choose your answer on the line provided. Amanda, Bethany, and Christina are all sisters.The sum of the ages of the sisters is 40. Amanda is 5 more than double Christina's age. Thedifference between Bethany's and Christina's age is 3. Write a system for this scenario. An object from a certain height falls freely. which of the following happens PE and KE when the object is half on its way down which of these elements is most likely to be magnesium the most metallic of all samples? 5. The average total cost to produce 100 cookies is $0.25 per cookie. The marginal cost is constant at $0.10 for all cookies produced. What is the total cost to produce 50 cookies light has to be reflected of an object for us to see it PLS PLS PLS HELPWILL MARK BRAINLIESTWhat were some of the main points of Lincolns Gettysburg Address? there about 5000 elements, which combine to form the vast number of diffrent substances in the world around us Tuna's father told Sickler that Tuna...?was veryillworked for the governmenthad robbed a gas stationwas a con artist HELP PLEASE WILL GIVE BRAINLIEST!Eve knits scarves for her online store. This week she has already knitted 9 scarves. There are 2 days left in the work week. She set a goal for herself to knit at least 17 scarves and at the most 19 scarves this week. Eve wants to know how many scarves she should knit each day to meet her goal.Which inequality represents the given situation?A.17 2x - 9 19B.17 2x + 9 19C.17 2x - 9 19D.17 2x + 9 19 did immigrants from japan settle in boston what is 1+3x when x=1