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

Pablo, Sofia, and Mia got some candy eggs at a party. Pablo had three times as many eggs as Sofia, and Sofia had twice as many eggs as Mia. Pablo decides to giv
Of the following models of education, which one is more in use than all of the other models combined? a. Developmental-interaction b. Eclectic or traditional
katrina has 2 blue ribbons for her hair. one fourth of all her ribbons are blue. how many ribbons does katrina have in all?
Nuclear energy can be used to power _______. a. street lights b. 4es c. homes d. all of the above
Which two triangles are congruent?
10 Points! How do you calculate the volume of a 3D figure? Example(s)?
Who became president following the resignation of Richard Nixon? a. Spiro T. Agnew b. Alexander M. Haig c. Gerald R. Ford d. Neil a. Armstrong
what number is 100 times as great as 0.3
During his speech, the guest speaker _____ wildly with his hands, distracting the audience from the important points he was trying to make. A. Intermingled B.
what variables affect the acceleration of an object and in what matter do they affect the acceleration?