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

The graph below shows a company's profit f(x), in dollars, depending on the price of pens x, in dollars, being sold by the company: https://cdn.flvsgl.com/asses
How many ways can six of the letters of the word palindrome be selected and written in a row where either the first two letters are PA(in order) or the last two
Dowlen, Inc., is considering the purchase of a machine that would cost $150,000 and would last for 6 years.At the end of 6 years, the machine would have a salva
i need help please on this question
52. What is hidden underneath Cleopatra’s Needle?No link , no spam. Just answer please...​
What is x? Please help quickly!
Please help due today
help please !Which triangles are similar? (pls don’t answer if you don’t have the answer I will report you...)
Solar power plants that use a central receiver system or a distributed receiver system generate energy by ____ a)heating an oil or salt solution b)splitting ato
A basket ball team won 10 games and lost 15 games, what is the ratio of number of wins to the total number of games played?