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

From the cool wells of the midnight air my spirit drank repose; the fountain of perpetual peace flows there, - from those deep wells flows. 8. where does this f
What were two reasons for immigrants supporting political machines?
What to do in 49 days after death?
The farmer grows a corn crop from hybrid seed and then the farmer gathers and plant some of the seeds from the hybrid corn plant how will the new corn crop comp
At a restaurant, bill and his four friends decided to divide the bill evenly. if each person paid $12, what was the total bill? write an equation to represent t
Why is it easy to produce a strain of plant that are homozygous recessive
Can the base of a exponential function be 1?
What is the irony about the caged bird singing?
Why can't 1 be the base of an exponential equation?
La (1) de Suramérica cuenta con dos hombres muy importantes: Simón Bolívar y José de San Martín. La lucha de ambos tuvo como resultado la (2) de varios países l