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

PLZ HELP! Need this FAST! Plz SHOW YOUR WORK! Thx so much!
Read the excerpt below from the novel It by Stephen King and answer the question that follows. Richie had felt a mad, exhilarating kind of energy growing in
What territories did the United States gain as a result to the Mexican-American war? Pls help
Determine the slope between the points (-1, -5) and (5, 4) PLEASE SHOW THE STEPS
"most athletes do not consume enough protein to support their added physical activity."
Tony drew a picture if his vegetable garden. What type of quadrilateral is Tony’s vegetable garden? A: Rectangle B: Rhombus C: Parallelogram D: Trapezoid (Pleas
"are you finally off the phone" is an example of a question that
after thorough exam of an underweight nine-month-old child, the pediatrician rendered diagnosis of severe malnutrition with marasmus
Were Romeo and Juliet Destroyed by their own flaws?
Quantitative analysis include