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

reduce 15 1/4 +1 1/2 +3/20 to lowest term.
Can you explain 3x+4/5=7/10. Solve
Why did the Chinese peasants rebel against the manchus from 1850 to 1864?
During an investigation, a student determines that a copper sample has a density of 8.10g/mL. What is the student's percent error if the a ccepted density for c
How many combinations of 3 students can a teacher choose from 32 students?   A. 96
Why did the Chinese peasants rebel against the manchus from 1850 to 1864?
Why can't plants and animals use the nitrogen directly from the atmosphere? Answer A.There is not enough of it in the air. B.Nitrogen gas contains the element i
If 3x – 10 = 17, what is the value of 6x + 20 ?
Which of the following writers did not come from Ireland? a) W. B. Yeats b) James Joyce c) Seamus Heaney d) Oscar Wilde e) none of the above; all came from
Which of the following is most important in classifying two groups of bears into the same genus? A. similar diets B. similar genes C. similar habitat D. similar