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

Can someone answer this for me? 1/2a=11 a=?
Help please,, The instructions are: find the tangents of the acute angles in the right triangles. Write each answer as a fraction and as a decimal rounded to 4
Write the equation in slope-intercept form. 8y - 3x = 16
Thanks for helping me
hmm, i dont know how to do this
A box contains 5 red pens 10 white pens and 20 green pens if one pen is taken out ofthe box at random. What is the probability that the pen taken out will bei)
La edad antigua termina en 1789 con la revolución francesa verdadero o falso (justifica tu respuesta
make a poem about yourself (this is for creativity so make it your own :P)
A law firm is going to designate associates and partners to a big new case. The daily rate charged to the client for each associate is $600 and the daily rate f
Which search pattern is used when you have many investigators available and are looking for a missing person? O Line or Strip search O Grid search Spiral search