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

what warning about the foreign nation does washington give in his farewell address
when was the confederate flag come in existence
14a +28c=7 solve for c
what group of colonist faced hostility as a result if their views regarding the declaration of independence
Define the following terms in your own words food chain, food web and energy pyramid
Which of the following qualities do China and India have in common? a. Mandarin is the most commonly spoken language. b. Literacy rates are over 90% for all cit
Determine the total charge of the boron nucleus.
What is the power output of an electric motor that lifts a 2.0-kilogram block 15 meters vertically in 6.0 seconds? (1) 5.0 J (3) 49 J (2) 5.0 W (4) 49 W
A radioactive element X with atomic number 88 and mass number 226 emits in succession:1)alpha particle 2)a beta particle 3)gamma radiation Explain using equatio
Which was a major cause of the French and Indian War?