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 1

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.

Answer 2

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

Which Loop Prints The Numbers 1, 2...100?c = 1while (c &lt;= 100): C = C + 1 Print (c)c = 1while (c &lt;

Related Questions

Mary is a student that's always been helpful to other students and plays her part when group assignment is given and ensures that the group work is complete. Mary display good __________ skills.

Answers

Explanation:

..................are there no options?

Teamwork skills I would guess

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

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.

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.

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:

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:

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

How many passes will it take to find the five in this list? 1, 5, 10, 15, 20, 22, 30 edgenutiy 2020​

Answers

Answer:

1

Explanation:

Answer:

The answer is 2

Explanation:

edge 2020

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:

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:

What is the average rate of change of h(x)=2^{x+1}h(x)=2 x+1 h, (, x, ), equals, 2, start superscript, x, plus, 1, end superscript over the interval [2,4][2,4]open bracket, 2, comma, 4, close bracket?

Answers

Answer:

Average Rate = 12

Explanation:

Given

h(x) = 2^(x + 1)

Interval = [2,4]

Required

Determine the average rate of change

The average rate of change of h(x) is calculated using.

Average Rate = (h(b) - h(a))/(b - a)

Where

[a,b] = [2,4]

Meaning a = 2 and b = 4

So, the formula becomes:

Average Rate = (h(4) - h(2))/(4 - 2)

Average Rate = (h(4) - h(2))/2

Average Rate = ½(h(4) - h(2))

Calculating h(4)

h(4) = 2^(4+1)

h(4) = 2⁵

h(4) = 32

Calculating h(2)

h(2) = 2^(2+1)

h(2) = 2³

h(2) = 8

So, we have:

Average Rate = ½(h(4) - h(2))

Average Rate = ½(32 - 8)

Average Rate = ½ * 24

Average Rate = 12

Hence, the average rate of change is 12

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:



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!

how to get to meters to kilometer

Answers

Answer:

The length in kilometers is equal to the meters divided by 1,000.

Explanation:

The length in kilometers is equal to the meters divided by 1,000.

Just divide it by 100

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.

Other Questions
Hellppppp pretty plz Consideras que el derecho a la educacin debe ser universal? Explica y justifica tu repuesta. What complex mechanismof moving partsgets strongerthe more it is used? 1. The xyz affair directly led to which of the following A. The Alien and sedition acts B. The national banks C. The creation of the us constitution D. The proclamation of the neutrality 2. Which of the following best describes the French response to alien and sedition acts? A. The French treasury stopped sending money to the us B. The French army invaded the us C. The French increased attacks in us ships at sea D. The French signed a treaty with Britain to boycott the us round the number 1 560 to the nearest thousands place Read the article and use it to answer the question that follows.Sex Linked InheritanceWhy are women often carriers of X-linked traits but rarely affected by them? A stock just paid an annual dividend of $1.8. The dividend is expected to grow by 8% per year for the next 3 years. The growth rate of dividends will then fall steadily (linearly) from 8% after 3 years to 5% in year 6. The required rate of return is 12%. 1. What is the current stock price if the dividend growth rate will stay 0.05 (5%) forever after 6 years? 2. In 6 years, the P/E ratio is expected to be 23 and the payout ratio to be 80%. What is the current stock price when using the P/E ratio? Please me an answer and ill give brainiest to the best one The word refuge in paragraph 14 is an example of what part of speech? PLZ HELP ME 30 POINTS TROLLERS WILL BE REPORTED What is the perimeter of this polygon?L2FwcGhvc3RpbmdfcHJvZC9ibG9icy9BRW5CMlVwYkZOdjFTNENGM2w5NTZIbzhybUFJSFlheFNqdmRHMm5BaFpQMUJONnRQcUJobDZYM3AxY29yRFVwWFJWeXc5cU5GQWhDajdDZGN3YUpSYVRmNV8wUzV2LVhSZy54azBYdVdxSDBkeHYxQ0Fs?w=400&h=400 a24 units b22 units c28 units d26 units Genetic engineering involves _______ to achieve desired results. a. enzyme production b. modifying products and processes c. changing one organism into another d. introducing traits into organisms Please select the best answer from the choices provided A B C D Describe the motion of an object as it accelerates. IN YOUR OWN WORD!! ASAP A 5-ounce can of tuna costs $0.90. A 12-ounce can of tuna costs $2.40. Which is the better buy? At the bookstore, Tim bought a magazine for $4, and five books that all cost the same amount. He spent a total of $129. Which equation expresses how much each book cost? Given the side lengths, determine whether the triangle is acute,right, obtuse, or not a triangle What's the background and roles for ENGO? Read the passage below to help you answer the question. The following is fictional diary entry of a child living in colonial New England.Each morning I wake up before dawn. There are many chores that need to be done. First I go out to the barn, milk the cows and collect eggs for breakfast. Next it is time to make sure all of the animals have been fed and then help Father collect wood for the fire. I help Mother churn butter while she makes breakfast.After breakfast, I got to school. My parents say that school is very important to the future of the colony. We use chalkboards to practice our handwriting and record our answers. Paper is hard to find and very expensive. School sometimes finishes early so all the children can help on the farms. before I leave school, I usually find a few minutes to play marbles and tag with some of the other children. Once I get home, my family and I will work until sunset. We will have a supper of soup and biscuits, and then go tot bed. On Sundays everyone in town goes to church. Then we spend the day playing games and singing songs. After a long week or work and school, it is great to see everyone having so much fun.In the New England colonies, ______________ worked hard.A. EveryoneB. Only women C. Only childrenD. Only men Honesty is the best policy explain with example For several hours you watch a group playing dice on the street and you notice that the owner of the dice often wins. Doyou conclude that he is just very lucky? In two r more complete sentences, explain why or why not you conclude thatthe owner of the dice is lucky.