What does the following loop do?

val = 0
total = 0

while (val < 10):
val = val + 1
total = total + val
print(total)

Prints the numbers backwards from 10 to 1.

Prints the sum of the numbers from 1 to 10.

Finds the average of the numbers between 1 and 10.

Prints the numbers from 1 to 10.

Answers

Answer 1

Answer:

Prints the sum of the numbers from 1 to 10.

Explanation:

YOU NEED BETTER INDENTATION

Total is the sum.

Each loop it's added

:)


Related Questions

La sección de lectores de un diario de la ciudad impone como única restricción para la publicación de las cartas, que el texto debe ser de 1500 caracteres. ¿Cuál será el tamaño en KB de un archivo txt que contenga ese texto?

Answers

Answer:

El tamaño de un archivo .txt que contenga esa cantidad de texto será de 1.46 KB.

Explanation:

Se entiende que todo caracter informático posee un tamaño de 1 byte, con lo cual en total el texto no puede superar los 1,500 bytes de tamaño.

Ahora bien, un kilobyte es una unidad de medida informática superior, que se compone de 1,024. Por lo tanto, dado que 1,500 - 1,024 es igual a 474, el tamaño del archivo será de 1 KB y 474 bytes. Así, para calcular el tamaño total del archivo en KB, se debe realizar el siguiente cálculo:

1,024 = 1

474 = X

((474 x 1) / 1,024) = X

0.46 = X

Así, el tamaño de un archivo .txt que contenga esa cantidad de texto será de 1.46 KB.

To ensure your online résumé is selected by employers using online searches, you must include _____ in your résumé.

html
key words
long descriptions
hyperlinks

Need answer asap!!

Answers

You must use key words.

A big part of SEO is choosing the correct keywords

Answer:

he correct answer is letter "B": keywords.

Explanation:

Human Resources (HR) staff usually handle an overwhelming number of resumes during openings. To make sure during online searches a curriculum vitae will be selected, keywords must be included. It is most likely that the HR staff will just filter words with the characteristics of the person they are looking for instead of looking at every resume they receive.

plz mark as brainliest

from which latin word the word computer is derived​

Answers

Answer:

Putare

Explanation:

I took latin last year! Merry Christmas and hope this helps

Sam recorded himself practicing a speech. He watched the recording and observed the behaviors. Which behaviors should Sam try to change? Check all that apply.

varying his rate in different parts of the speech
saying "like" several times a minute
demonstrating enthusiasm for the topic
pausing frequently in the middle of sentences
having a rising intonation at the end of many statements

Answers

Answer:

b d e

Explanation:

Answer:

b d e

Explanation:

A technician is checking a customer's wireless network performance and has determined it was using 802.11g. The technician's recommendation is for the customer to upgrade to 802.11ac. Which of the following is the BEST reason to upgrade?

Answers

Answer:

Spped

Explanation:

What do microphone means

Answers

Answer:

A tiny phone

Explanation:

It means a tiny phone

Can someone help me and make a code for this in PYTHON, please? I would be very grateful!
It is estimated that China on July 1, 2019. had 1,420,062,022 inhabitants. The population of China increases by 0.35% every year. Assuming that the annual population growth in China will not change, show the expected population of China in the next ten years.
Please... Thanks in advance!

Answers

Code:

next_ten_years = 1420062022*1.0035**10

print(next_ten_years)

Output:

1470554353.1178253

Explanation:

Since the population of inhabitants increases by [tex]0.35\%[/tex] each year, the total population must be [tex]100.35\%[/tex] of the previous year's population (since it includes the previous size of the population and the [tex]0.35\%[/tex] increase of the population)

The math:

Expected population in next 10 years = [tex]1420062022 \times 1.0035^{10}[/tex]  ([tex]100.35\%[/tex] is [tex]1.0035[/tex])

Code:

Looking at the code above, the '**' raises the power of a number to the number you put after the operator, so 1.0035**10  is [tex]1.0035^{10}[/tex]. The '*' operator multiplies the two numbers that are placed before and after the operator, so 1420062022*1.0035 is [tex]1420062022\times 1.0035[/tex].

The expected population in the next ten years is 1,470,554,353 (if we round to the nearest inhabitants since there can't be a decimal amount of inhabitants).

Hope this helps :)

How would a person giving a persuasive speech use projection to make a key point?

a. by talking at a faster pace
b. by using a louder voice
c. by pronouncing words clearly
d. by using an upward intonation

Answers

Answer:

B: by using a louder voice

Explanation:

if Edge quiz then B

Answer:

B: by using a louder voice

Explanation:

correct on e2020 :)

Compare and contrast the advantages and disadvantages of the Windows, Apple and Linux operating systems.

Answers

In apple, you may do other things that windows can not provide. Yet, Windows are good aswell since it has better things than apple. I’m so sorry if i’m wrong.

List any ten keyboard symbols.​

Answers

Answer:

Esc- Esc (escape) key.

F1 - F12 What are the F1 through F12 keys?

F13 - F24 Information about the F13 through F24 keyboard keys.

Tab Tab key.

Caps lock- Caps lock key.

Shift- Shift key.

Ctrl - Control key.

Fn- Function key.

Alt- Alternate key (PC only; Mac users have an Option key).

Spacebar- Spacebar key.

Hope this helps, have a great day/night, and stay safe!



The admission booth at the show requires each person to enter their age. Then the following program executes (See image.): When age = 16, what action would the program execute?



A. print “16”
B. print “Student price is $8.”
C. print “14”
D. print “Student price is $14.”

Answers

the data represented by numeric whole-number values, either positive or negative, that do not have decimal points

A. Boolean

B. string

C. Float

D. integer

What is another name for repetition in programming?

A. duplication

B. replication

C. redundancy

D. iteration

All of the following are types of errors in a computer program EXCEPT

A. syntax

B. parameter

C. semantic

D. logic

17.

What is one way that programmers insert explanatory statements in their code?

A. for loops

B. compiling code

C. use comments

D. create variables

18.

Why is readable code important? Choose all that apply.

A. It is more fun to write.

B. It makes the purpose and flow of a program easier to understand and follow.

C. Anyone needing to work with the code in the future will have an easier time.

D. It will save time when it is time to update the program.  (MAYBE D AS WELL) if u are allowed to select more than 2

19.

All of the following are true about debugging except

A. debugging is not a necessary process

B. it is a process of identifying and eliminating errors in a software program

C. it is essential to produce high-quality programs

D. eliminating bugs is an important part of the program development cycle

20.

The type of conditional statement that tests if a condition is true or false

A. if

B. not

C. or

D. and

24.

Which best describes a computer bug?

A. a piece of computer hardware that is out of date or has a newer version

B. a piece of computer software containing defects that prevent a program from running properly

C. a piece of computer hardware that is being used improperly

D. a piece of computer software that is out of date or has a newer version

25.

Which set of variables will make code easier to understand?

A. a, b, c

B. sum, price, count

C. xii, xix, xxi

D. x, y, z

23.

An argument is different from a parameter in that an argument

A. refers to a piece of data to be supplied.

B. is a placeholder for a constant value.

C. is the data passed into a parameter.

D. is always variable.

Answer:

B. print "Student price $8."

Explanation:

B

Which the following is true of functions?

A. Programs written with functions more quickly

B. Function can help remove repeated code from a program

C. Replacing repeated code with a function will reduce the number of commands the computer needs to run.

D. Functions are called once but can be declared many times

Answers

The answer you are clocking for is B. Hope this helped!

Robert is risk manager at TPT Bank has been asked to implement an updated badge reader system for addressing access control risk. Even though the risk was migrated, Robert observes some remaining risk linked with access control. What type of risk has been observed by Robert

Answers

Answer:

Disruption of computer service

Explanation:

Access control is a method or technique used by network administrators to organize and limit access to resources in a network. In a computer network, there several threats and risk experienced by users and technician, that threatens the confidentially of information and other resources.

The configured badge reader system needs data and draws bandwidth. When this bandwidth is in use, it reduces the network efficiency and computer services causing low productivity in the organization.

If your presentation uses a background, your text should _____.

be placed in bulleted lists
work well with the background
be at least 50-points
be written in paragraph form

Answers

your text should work well with the background.

It's very important for the text to be readable.

Answer:

B (work well with the background )  

Explanation:

I have chosen B, to be the best solution and here is why. Since, your presentation uses a background you would want your text to be fitted well with the background of your choice. That way users can still see the text.

I just downloaded this song and if any one wants to listen to it then go ahead and do that. It’s called Trap Music 2018 âa bass boosted trap mix.

Answers

Answer:

ok

Explanation:

simplify the expression below and state the value of m for which the simplified expression is not defined 2m² + m - 15/ m² - 9​

Answers

Answer:

The simplified expression is: [tex]\frac{2m-5}{m-3}[/tex]The simplified expression is undefined for m=3

Explanation:

The given expression is:

[tex]\frac{2m^2+m-15}{m^2-9}[/tex]

The numerator can be siplified by using factorization and denominator will be simplified using the formula

[tex]a^2-b^2 = (a+b)(a-b)[/tex]

So,

[tex]= \frac{2m^2+6m-5m-15}{(m)^2-(3)^2}\\=\frac{2m(m+3)-5(m+3)}{(m-3)(m+3)}\\=\frac{(2m-5)(m+3)}{(m-3)(m+3)}\\=\frac{2m-5}{m-3}[/tex]

A fraction is undefined when the denominator is zero. In order to find the value of m on which the simplified fraction will be undefined we will put denominator equal to zero.

So,

[tex]m-3 = 0 => m = 3[/tex]

Hence,

The simplified expression is: [tex]\frac{2m-5}{m-3}[/tex]The simplified expression is undefined for m=3

Question 8 of 10
What can be defined as an information technology environment?
A. The tools and processes that surround us to gather and interpret
data
O B. The rules and regulations that government and businesses must
follow to be secure from hackers
C. The energy used to create and maintain technology
D. The buildings and materials that house computer services
SUBMIT

Answers

Answer:

C. The energy used to create and maintain technology

#Carry on learning po

Which types of watermarks are discussed in the paragraph below?
The watermark can be of different types depending on the application. A
However, a
watermark will not resist tampering.
watermark will resist manipulations of the media.

Answers

Answer:

Blank #1: B. Robust

Blank #2: C. Fragile

Explanation:

I took the test and this was the correct answer! Please like and mark my answer the brainliest if this helped you! :)

A robust watermark will not resist tampering.

A fragile watermark will resist manipulations of the media.

What is a watermark?

A faint design made in paper during manufacture that is visible when held against the light and clearly identifies the maker.

The watermark can be of different types depending on the application.

A robust watermark will not resist tampering.

A fragile watermark will resist manipulations of the media.

Learn more about watermark.

https://brainly.com/question/26321908

#SPJ2

QUICKLY PLEASE!!!

Respond to the following in three to five sentences.

What is the purpose of netiquette guidelines?

Answers

Answer: As the conventional etiquette, which lays out rules of ethics in social contexts, the purpose of netiquette is to help create and sustain a friendly, relaxed and productive atmosphere for online contact, as well as to avoid putting pressure on the system and creating tension between users.

Explanation:

I'm not sure if these are correct.

Answers

Answer:

All the mention codes are correct.

Explanation:  

In the task1, a "name" variable is declared, that store a string, and in the next step, the built-in method "title, lower and upper" is defined, in which the title method capitalized the first character of the given word in each sentence, upper method change each character into upper case and the lower method changes each character into lower case.

In task2, a message variable is declared, that holds a string value in which the count method is used that counts the space character value.

In task3, a string value is used in the message variable, which uses a replace method to change the given string value.

In task3, a response variable is declared that uses an input method for input a string value, and inside the print method, len method is used that counts each input character number.

Hi I will Venmo or cash app 50$ to whoever can get all my school work in a week 8th grade btw.

Answers

Answer:

i gotchu dawg

Explanation:

Answer:

UwU Can't, thanks for le points sowwy

Explanation:

Out of these video games which one do you think is the best
(dont answer if you have never played at least 3 of these games)
Rivals of Aether
Super smash bros ultimate
Smash flash 2
Project M

Answers

Answer:

Tbh Rivals of Aether was pretty good but I gotta go with SMBU

Explanation:

SMBU was lit that's all there is to it

Answer:

Super smash bros ultimate

Explanation:

its ultimate

Which technique will you use to make listening to audio a pleasant experience?
Audio _____ is the smooth shift of one audio file into another.

Answers

Don't quote me on this, but I *think* the answer is "Audio transition/transitioning is the smooth shift of one audio file into another." I hope I was able to help and I apologize if I was wrong. ♡♡

Answer:

Sample response: Good thriller has beginning, middle, and end. Reader has to care about the characters. A character should be mysterious so readers are interested. Crime is a good way to talk about human condition. Good thrillers change people’s point of view in some way.

Explanation:

Can someone give me the code for the edhesive 3.7 code practice for python? Thanks. The first person to give a correct answer will get brainlyist.

Answers

Answer:

Try

568458

448952

123456

Also just keep hitting keys till u get it :)

Explanation:

Hope this helps u plz mark brainliest

HELP!!!
To help ensure that an HTML document renders well in many different web browsers, it is important to include which of the following at the top of the file.

A) an tag
B) a doctype declaration
C) a tag
D) a tag

Answers

Answer: B

Explanation:

I did not get why there 3 of the same question

Answer:

I think it is:

B. a doctype declaration

Explanation:

when is mail merge an effective productivity tool

Answers

Answer:

When a lot of letters with the same body text need to be personalized.

Explanation:

Answer: Mail merge would be the most effective when a lot of letters with the same body text need to be personalized.

Explanation: Ape x

One advantage of putting information into a database is that you can filter the data.
O True
O False

Answers

Answer:

True.

Explanation:

One of the purposes of databases is to allow data lookup through queries, which is basically filtering data, using efficient algorithms too.

Answer:

True

Explanation:

Eric would like to have a callout text box that makes it look as if the character in an image is speaking. Which object should he insert into the Word document?
standard text box
WordArt
callout
shape
picture

Answers

Answer:

C: Callout shape

Explanation:

The object that should he insert into the Word document is the callout function. The correct option is b.

What is Microsoft Word?

A component of Microsoft Office is Microsoft Word. The office is a collection of Microsoft products that can be used on Windows or macOS and contains Word, PowerPoint, Excel, Outlook, and numerous other tools for both private and professional usage. They aren't the same thing; Microsoft Word is merely one of such app.

A callout function is one of the functions that specifies a callout and is implemented by a callout driver.

The following collection of callout functions makes up a callout: a notification processing notifying function. A function called classifying handles classifications.

Therefore, the correct option is b. callout.

To learn more about Microsoft Word, refer to the below link:

https://brainly.com/question/2579888

#SPJ5

Which loop prints the numbers 1, 2...100?

c = 1

while (c <= 100):
c = c + 1
print (c)

c = 1

while (c < 100):
c = c + 1
print (c)

c = 1

while (c <= 100):
print (c)
c = c + 1

c = 1

while (c < 101):
c = c + 1
print (c)

Answers

Answer:

while (c <= 100):

print (c)

c = c + 1

Explanation:

We can cancel out the while loops with ' < ' because then it won't print when C is 100.

while (c <= 100):

print (c)

c = c + 1

Is probably right because unlike the other while loop with ' <= ' it has a print statement before the C = C + 1 which means look at this:

C = 1

print(c)

C = C + 1

So when it's run 1 is printed

But when doing the other while loop:

c = 1

while (c <= 100):

print (c)

c = c + 1

C = 1

c = c + 1

print(c)

It prints 2 because it added 1 to C first before actually printing it.

The loop that prints the numbers 1, 2...100 is

c = 1

while (c <= 100):

   print (c)

   c = c + 1

We are to find the loop that prints the numbers 1 , 2 …100.

Therefore, the loop that print 1 to 100 can be represented as follows:

c = 1

while (c <= 100):

   print (c)

   c = c + 1

c is a variable initialize with zero.

The while loop is used to check if c is less than or equals to 100.

If c is less than or equal to 100 we print the value of c .

Then we add 1 to c and go back to the loop again.

learn more on loop here: https://brainly.com/question/19705987?referrer=searchResults

Jared has trouble remembering when his assignments are due, and he wants to keep reminders on his computer. Which online note-taking tool would be the best one to use?

Answers

Answer and Explanation:

Google Keep & Google Reminders

Google Keep is an online stick-note tool, that also has an online reminder tool as well. You can also use another platform for reminders such as Google Reminders. Both platforms are easy, online and simple to use!

Answer: electronic sticky notes

Explanation:

:)

Other Questions
Before we dig into Home Safety... Why is home safety important to learn about? In what ways can being educated inhome safety help you as you begin to purchase a home, move into a new home, and observe new homes that you visited? The Confederate states' most important advantage entering the Civil War is generally considered to be thatA)their Navy was almost twice the size as that of the Union.B)the South was much more industrial than the North and thereforeproduced more weapons.Ctheir soldiers knew how to ride horses and use firearms better than anynortherners did.D)they only had to fight a defensive war and outlast the Union's will to fightin order to win. This month, a marching band has 60 musicians. If the number of musicians in the band last month was 51 members, what percent of increase was this? (Round to the nearest percent) What is the common difference for this arithmetic sequence?45, 40, 35, 30, 25, ... What is President Roosevelts primary purpose in his speech?? A -To inspire listeners to lead lives of action and courage.B - To describe a commonly accepted belief and show that it is misguided.C - To attack his political opponents for being overly critical while accomplishing little.D - To offer an objective, dispassionate take on human nature and the meaning of life Sophia trains with her friend Asha on aAsha starts running right after school and runs an average of one kilometer in seven minutesSophia leaves 10 minutes later and runs at a steady pace shown in the table below:Write each function as a linear equation where x is the number of kilometers and y is the number of minuteswho runsaster? Explain12351015.525.537.5 lFunciona el traductor de Google? eh lo que sea, bueno, si respondes esto sin saber leer espaol entonces eres tonto.dont answer before you read this. (you can use google translate) answers anyone??????? A company purchased an asset for $2,850,000 that will be used in a 3-year project. The asset is in the 3-year MACRS class. The depreciation percentage each year is 33.33%, 44.45%, and 14.81%, respectively. What is the book value of the equipment at the end of the project?A) $211,185.B) $0.C) $633,270.D) $1,900,095.E) $2,638,815. Name 10 of The Greatest German Leaders of Your Opinion!!!12345678910 I need help plsthis is language art Which expression is equivalent to 2x^2-2x + 72 HELPP IM BEING TIMED ILL GIVE BRAINLIEST ANSWER PLS. Describe the rate of changes caused by weathering anderosion. What are the fast changes? What are the slow changes?What causes changes in big areas? What causes changes in littleareas? Plz plz plz do question I need help pllssss What action by the leaders of the French Revolution demonstrates that they were influenced by Enlightenment ideas? Which equation is represented by the graph below? 5 x 10^8 - 3.4 x 10^8 =In Scientific notation PLS HELP ILL GIVE YOU BRAINLEST PLEASE THIS IS THE ONLY QUESTION I HAVENT ANSWER! 3. Answer the following questions.a. Who was Bhungi? Would you say she was content with her lol?