Ask the user to input a number less than 100. Print all the numbers from that number to 100.

Which loop correctly does this?


num = int (input("Enter a number between 1 and 100: "))
c = num

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

num = int (input("Enter a number between 1 and 100: "))
c = num

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

Answers

Answer 1

Answer:

The second one:

num = int (input("Enter a number between 1 and 100: "))

c = num

while (c <= 100):

print (c)

c = c + 1

Explanation:

First of all, you don't know Python... (LEARN IT)

Second of all, The first loop doesn't make sense? num 100

And the second one works, you can try compiling it (lazy to explain...).

Answer 2

Answer:

num = int (input("Enter a number between 1 and 100: "))

c = num  

while (c <= 100):

  print (c)

  c = c + 1

Explanation:


Related Questions

What are benefits of using scenarios? Check all that apply.

They mainly show single variables.
They can compare multiple variables.
They highlight which goals have been met.
They focus on creating separate sets of data.
They can predict what is needed to meet a goal.
They allow a user to summarize and compare data.

Answers

Answer: Their are three answers to this B) They cna compare multiple variables, E) They can predict what is needed to meet a goal, and F) They allow a user to summarize and compare data.

Explanation: Hope this helps, Merry Christmas.

Which task would you use CSS when making a webpage?
O Creating a paragraph
O Creating an unordered list
O Creating an ordered list
O Changing the font size

Answers

Changing the font size.

HTML you use to 'mark up' plain text. It tells the text what its purpose should be : an unordered / ordered list, a paragraph etc.

CSS is for formatting that marked up content.  With CSS, you can control the colour, font, the size of text, the spacing between elements, how elements are positioned and laid out, what background colours are to be used, different displays for different devices and screen sizes and more.

Think of HTML as the abstract text and images behind a web page and CSS as the page that actually gets displayed.

Carmen printed her PowerPoint presentation at home. Her mom was angry because Carmen used 20 pieces of paper and all the color ink. What option did Carmen most likely use to print
her presentation?
Print full page slides print handouts. Print note pages or print options will give Brainliest ANSWER

Answers

Answer:

She used 1 sided and color

Explanation:

those are the options she used

Carmen printed her PowerPoint presentation at home. Her mom was angry because Carmen used 20 pieces of paper and all the colored ink. She used 1 side and color.

What is the printer?

A printer is a device that receives the text and graphic output from a computer and prints the data on paper, typically on sheets of paper that are standard size, 8.5" by 11". The size, speed, sophistication, and price of printers vary.

One of the more frequent computer peripherals is the printer, which may be divided into two types: 2D printers and 3D printers. While 3D printers are used to produce three-dimensional physical items, 2D printers are used to print text and graphics on paper.

Therefore, at home, Carmen printed out her PowerPoint presentation. Carmen used 20 pieces of paper and all the color ink, which made her mother furious. She used color and one-sided.

To learn more about printers, refer to the link:

https://brainly.com/question/17136779

#SPJ2

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

Write the steps to open file and folder​

Answers

Answer:

   1. Launch the File Open dialog. In the File menu, select the Open menu item.

   2. Open the folder containing the desired file.

   Select the desired file within the folder.

   3. (Optional) Specify a file format type.

   4. (Optional) Specify the character encoding.

   5. Click on the Open button.

which of the following words best describes the word icon ​

Answers

Answer:

symbol

Explanation:

Answer & Explanation:

An icon, is basically like a symbol.  Usually an Icon can mean different meanings, such for marketing or for websites.

Which statement best describes the difference between a spreadsheet and a database?

Spreadsheets store data in tables that interact; databases store data in cells that interact.

Databases store data in tables that interact; spreadsheets store data in cells that interact.


Spreadsheets store binary data; databases store hexadecimal data.

Spreadsheets store hexadecimal data; databases store binary data, ​

Answers

Answer:

Databases store data in tables that interact; spreadsheets store data in cells that interact.

Explanation:

The main difference between between a spreadsheet and a database is that databases store data in tables that interact; spreadsheets store data in cells that interact.

What is a data?

A data can be defined as the representation of facts, concepts, instructions in a formalized manner which is suitable for communication by the user.

The spreadsheet is an application that is used for the analysis and storage of data in a cell that can be manipulated, formatted or edited within the cell.

The database is an application that can be used for the analysis and storage of data in an external tabular form.

Therefore, the main difference between between a spreadsheet and a database is that databases store data in tables that interact; spreadsheets store data in cells that interact.

Learn more about spreadsheet here:

https://brainly.com/question/25879801

#SPJ2

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.

Now it says this and the airplane mode option is dull

Answers

Explanation:

Click the airplane mode again and see if your internet turns back on. if not then click the internet symbol and check to see why its down.

Answer:

can't use internet on airplane mode that's for battery save or no services

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

In our situation now a days in online class we are experiencing different problems such as internet
problems like internet connection low quality gadgets technical problems using laptops and computers set up as an ict student how can you solve these common learning problems based on the knowledge you gained in computer hardware servicing

Answers

Swsss23232322222-32322

William is working on a term paper. He finds an online article on the same subject as his paper. He downloads the article and paraphrases a portion of it in his paper. He does not include the article in his list of references because he did not use the exact wording of the article. What illegal and unethical conduct is William guilty of?

A.
software piracy
B.
plagiarism
C.
patent infringement
D.
trademark violation

Answers

Answer:

B. Plagiarism

Explanation:

Answer:

B. Plagiarism

----------------------------------------------------------------------------------------------------------------

Explanation:

It's pretty simple--

- Software piracy is the unauthorized downloading, copying, use, or distribution of software, so it would not be A.

- Patent infringement  is when someone sells, imports, uses, or makes a product that someone else invented without permission, so it is not C.

- Trademark infringement is a violation of the exclusive rights attached to a trademark without the authorization of the trademark owner or any licenses, so it wouldn't be D.

- It is plagiarism because William is taking someone else's work and passing it off as his own. He did not credit the original author of the article so it counts as Plagiarism. Hope this helped you out a bit :D

Which option best describes MacHack 6?

A.
It was a text-based adventure game.
B.
It was a graphical adventure game.
C.
It was a shooter game.
D.
It was an interactive chess program.
E.
It was a puzzle game t

Answers

Answer:

D. It was an interactive chess program.

Answer:it d

Explanation:

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

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:

If you plan to work in the media or film industry, what profession would you most like to choose? This could be acting, directing, scriptwriting, and so on. How can you prepare yourself for a career in your chosen field?

Answers

Answer:

do you have a pic of your work

Explanation:

This road sign means
O road work ahead
vehicle breakdown
O service stations
O construction zone has ended

Answers

Answer:

A

Explanation:

Uh, yeah, I sure hope it does (to everyone who watched vine)

Construction zone has ended is the correct answer

any good movies to watch ??

Answers

Answer:

The mandilorian

Explanation:

if y’all know any tell me too

Which is the correct expansion of the term Internet?

Answers

Answer:

international network is the answer

Answer:

http (hypertext transfer protocol)

Explanation:

its an application tool for distributed, collaborative, and hypermedia informations system and foundation of data for world wide web. HTTP is used to fetch and transmit the web page.

Where does the Help feature in Access 2016 search for information by default?
O on the internet
O on the local computer
O on an external hard drive
O within the Access program files

Answers

Answer: A

Explanation:

Just did it

The internet is called the help feature in Access 2016 search for information by default.

What is the internet?

A worldwide computer system network that is made up of interrelated networks and also use standardized connection communications protocol to furnish an assortment of message and communication services.

By default, Access 2016 searches for information on the internet, which is referred to as the assistance feature.

Therefore, option A is correct.

Learn more about the internet, refer to:

https://brainly.com/question/13308791

#SPJ2

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

2. How is accessing the Internet through a home network and public Wi-Fi similar?​

Answers

Answer: it is not the same

Explanation: via public wi-fi u can easily be hacked but your home wi-fi is yours and u are safe there

why is computer known as a vesatile machine? Explain​

Answers

Explanation:

Computer is known as a versatile machine because it is Capable of doing many things competently.

Answer:

Computer is called versatile machine because it is used in almost all the fields for various purpose.

Like: Speed accuracy, automatic endurance, versatility, storage etc

i neeeeed a girl that is looking for true love, trust me i will love her

Answers

Answer:

sure!

Explanation:

Answer:

Sure why not

Explanation:

What is the quickest way to change the format of a table?

Copy and paste the table into a new slide.
Use the Table option on the Insert tab of the ribbon.
Delete the table and recreate it using a preconfigured table type.
Use the Table Styles option on the Design tab of the Table Tools contextual tab.

Answers

Answer:

If you don't like the default table format, you can easily change it by selecting any of the inbuilt Table Styles on the Design tab. The Design tab is the starting point to work with Excel table styles. It appears under the Table Tools contextual tab, as soon as you click any cell within a table.

The format of the table can be changed with the selection of the design tab in the tool to format with the contextual tab.

How table tool design the table?

The design tab for the table helps in making the changes to the table with the change in the name, formatting, style and other characteristics of the table.

There has been the presence of the preconfigured table style in the Excel, and the quickest way to configure a table involves the development of the table with the contextual table tools in the design tab. Thus, option D is correct.

Learn more about table, here:

https://brainly.com/question/15858153

#SPJ2

Which of these was used as a model service during the development of Twitter?

A)TXTMob

B)Tumblr

C)four square

D)Reddit

Answers

Answer:

tumblr or reddid cuz yeah

I think the answer to this is B.

The excerpt is a sample works-cited list.

A typed list of citations titled Works cited, with W and C capitalized. There are 3 citations. The turnovers for the second and third citations set flush left. There is extra space between citations. The first words in each citation, from top to bottom, are Keegan, Keller, South. The third citation does not have an access date.

Based on MLA standards, how could this list be improved?

Answers

Answer:

1

Explanation:

Answer:

c

Explanation:

because The excerpt is a sample works-cited list.

A typed list of citations titled Works cited, with W and C capitalized. There are 3 citations. The turnovers for the second and third citations set flush left. There is extra space between citations. The first words in each citation, from top to bottom, are Keegan, Keller, South. The third citation does not have an access date.

♡ ∩_∩

(„• ֊ •„)♡

┏━∪∪━━━━┓

♡ good luck 。 ♡

┗━━━━━━━┛

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

What is the purpose of concatenation?

To combine two variable names in order to form a string
To combine two or more strings into one big string
To pull out a group of characters from a string
To pull out one specific character from a string

Answers

Explanation:

Concatenation allows you to add multiple strings together to form one long string by using the '+' operator between each string, so the purpose of concatenation is "to combine two or more strings into one big string" (third option).

Hope this helps :)

I need an example of an infinite loop like something close to that.

Answers

Answer:

int i =0

while(i=0){

console.log("if i=0 then this will keep printing until i is not 0")

}#we are not incrementing 'i' so i will be zero .

Other Questions
Which is an example of a sudden change that could lead to the extinction of species?A. a mountain range isolates a speciesB. Earth's tectonic plates moveC. a volcano eruptsD. sea level change which of the following are behaviors that after result from drug use a. driving responsibly PLS ANSWER I WILL LITERALLY GIVE YOU 100 POINTS . If you were a Supreme Court justice , what legal arguments would you take into account in deciding Texas Vs Johnson ? Find the slope of regular BC What is the minimum number of days per week you should exercise? True or False The African Plateau is the main dominate feature of Africa What dividend is represented by the synthetic division below? Help plsssssssssssss??? What force must be applied to the end of a rod along the x-axis of length 2.25 m in order to produce a torque on the rod about the origin of 11 z-hat Nm? Choose among the available options below. x,y,z,-z Find the slope of this line. *(5 puntos)-1135y-2024 Can a business succeed without having ALL four of the Factors of Production (Land, Capital, Labor and Entrepreneurs)? Why or why not?PLS HELP ILL MAKE U BRAINLIEST 21. A plumber charges a flat fee plus a cost per hour. Customer 1 is charged $114for a job that takes 3 hours. Customer 2 is charged $170 for a job that takes 51hours. What is the cost for a job that takes 8 hours?A. $198B. $254c. $284D. $840 How may the introduction of the slave data change the discussions over representation?The Constitutional Convention met in Philadelphia in May 1787. The 55 delegates included many leaders from the American Revolution. All of the delegates who attended were known as the Framers, or the Founding Fathers of the nation.While everyone agreed that the United States needed a new government, there was a big disagreement on what that government would look like and how much power it should have. There were many issues that required a great deal of compromising, which is why the United States Constitution is known as a Bundle of Compromises. Justinian got officials to gather, edit, and organize the ????(blank) of ancient rome Why is oxygen spelt o2 please watch this and answer the question please Write a well-crafted paragraph (at least 4 sentences) to the following prompt:Based on what you have learned, why do you thinkthe process of a bill becoming a law atthe federal level has so many steps? Use your handout and the "How a Bill Becomes a Law"video to help you. Ancient Egypt had a social hierarchy. If the hierarchy had five levels, with the pharaoh at the top, at which level wereartisans and scribes? x = 2 - y3x - 10 = yi have to find yplease help Which revision is needed to correct the following sentence? "The new student council officers will suggest easy fun activities at the short planning meeting."A. Add a comma after the word easy.B. Add a comma after the word new.C. Add a comma after the word short.D. Add a comma after the word council.