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

19.25 tons = blank pounds
What is the best example of a tragic flaw
Use parentheses to make this statement true: 8 x 4 - 2 x 3 + 8 (divided by) 2 = 25
someone please help me!
When and how do scientists think that the common rosefinch came from Asia to Hawaii?
A depreciation of the U.S. Dollar against the Chinese yuan will likely shift the U.S. Aggregate demand curve to the _____, leading to _____ output in the short
Read the following excerpt from "The City Without Us" by Alan Weisman: As it happens, that will be the key to breaching Manhattan's hard shell if nature sets ab
what is 1/16 + 9/6 ?
Does A static character change?
Does anyone know how to answer this or what the answer is? My sister is having a hard time figuring this out with her tutor?