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

Which is a dependent clause? during intermission, while we were discussing the performance dodging frantically, a valet ran through the crowd and into the theat
In which experimental setup shown above would you expect the elodea plant inside the test tube to produce the least amount of oxygen?
BRAINLIESTTTTT ASAP!!! Which answer best describes a reason why industries flourished in New England? The people in New England had more work experience. New En
In geometry ____ is the set of all points A plane B space C earth D infinity
Which best explains whether a triangle with side lengths 5 cm, 13 cm, and 12 cm is a right triangle?
If I get paid every Thursday and my check is roughly $100 and I put back $20 every week for a trip, how long will it take me to get $2,000
how is pressure created
Why did Douglass consider religion and slavery a bad mix
what is the length of AB? A. 10.5B. 4 C. 10 D. 6
One way in which president Andrew Johnson and president Bill Clinton are similar is that both were...