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

in song of myself what does whitman mean when he says arrest, and what does it mean about death?
This is the kingdom of heterotrophs that obtain energy and nutrients from dead and decaying organic matter.
The older Gary gets the more difficult it is going to be for him to _____.
How to solve it and please help me to solve it
The Berlin Wall became a symbol of the Cold War because it was painted in somber colors. literally divided the East and the West. was made of inexpensive build
What is not a reason that business would look to hire children to work in factories? A) the factory owners wanted to give children the experience at a job so th
A federal judge is found to be giving criminals a light sentence in exchange for money. Which branch has the power to check the judge's actions? A. Legislative
Name two pre-twentieth-century American composers presented in this section and describe them briefly.
Polymerase chain reaction (pcr) is a powerful tool in molecular biology that is used to amplify a particular dna sequence. if a pcr reaction initially contains
The problem is too many used tires are piling up in empty lots. The tires come from tire stores, where they have been removed from customer cars and replaced wi