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

Richard works at an icecream shop, regular cones get two scoops of icecream; large gets three scoops of icecream. Richard scoops 234 regular cones and 156 large
What is the basic shape of every planet’s orbit?
Do prokaryotes have membrane bound organelles
A truck and a scooter moving with the same velocity colide. Why does the scooter fly off?
If gas costs $3.65 per gallon at a local service station, how many cubic feet of gas can a customer buy with $40 ? Given your answer above, how far can the cust
What qualifications are needed to be president?
Why does the Iroquois Constitution use symbols from nature to convey important ideas?
How to find the x intercept of an equation?
The use of human growth hormone can lead to muscle growth, but it can also cause which of the following conditions? A. Insomnia and abnormal heart rhythm
Josh is working on a research paper about the 1930s Spanish Civil War. Before writing his paper, he decides he wants to understand the consequences of the event