subject

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

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 18:00
What is the first view you place in your drawing?
Answers: 1
question
Computers and Technology, 22.06.2019 21:00
Describir textbook icon_person mira los dibujos y describe lo que está pasando. usa los verbos de la lista.
Answers: 1
question
Computers and Technology, 23.06.2019 07:30
To check spelling errors in a document, the word application uses the to determine appropriate spelling. internet built-in dictionary user-defined words other text in the document
Answers: 2
question
Computers and Technology, 23.06.2019 14:00
What is html ? give a small description about html
Answers: 2
You know the right answer?
Ask the user to input a number less than 100. Print all the numbers from that number to 100. Which...
Questions
question
Mathematics, 18.03.2021 02:20
question
Mathematics, 18.03.2021 02:20
question
Mathematics, 18.03.2021 02:20
Questions on the website: 13722363