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

How do you do this problem 3 (x-7)=9?
Ben wants to buy 2 blue sweaters for 119$ and 3 brown sweaters for 44$ each how much will ben spend on his five sweaters?
Which of the following best describes the Federalists? They represented the Southern states and regional issues. They were strong supporters of states’ rights.
Seasons are celebrations.    A year's a Ferris wheel.    Both honor our world's habit    of spinning 'round a star. Which one of the following sentences best ex
Which of the following choices best describe the error in this sentences
Plz help me fast!!! Select the best way to clarify or add an example to a sentence. A Use dashes. B Use commas to change the meaning of the sentence. C Rewrite
How are plate tectonics related to earth's surface features?
What value should go in the empty boxes to complete the calculation for finding the product of 0.98 × 0.73? Both numbers are the same; however, only input the
The body's______provides a framework which protects and supports the organs.
What if we lived on jupiter?