25rhuynh 25rhuynh
  • 02-05-2022
  • Computers and Technology
contestada

CodeHS Python: Using a while loop, print out a list of numbers from 5 to 55 by fives

Respuesta :

techuram techuram
  • 03-05-2022

Answer:

i = 5

while i < 56:

 print(i)

 i += 5

Explanation:

I basically started off with a value and said keep adding on to this value by 5, while not going past 55.

Answer Link

Otras preguntas

A coat regularly sells for $59.00. It is on sale for 20% off. What is the sale price of the coat?
What type of government does Myanmar/Burma have??
what tells the cell what to do
Jim uses ribbon for bookmarks. Jim has 9 feet of ribbon. He uses 1/3 foot of ribbon to make each bookmark. What is the total number of ribbons Jim can make from
Find all the powers of 3 in the range 3 through 1,000.
What issues led to the revolts in South America? social injustice slavery emigration economic restrictions
What is decrease £20 by 15%
5\7m-2-6\7m=-13 what is the answer
How might a soldier inconspicuously attack his enemy?
Which of the Five Pillars of Islam do you think would be most difficult to peform? Why?