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

expand and simplify this can you help  (2x²−3x+4) ( x²+5x−7)
What does ¿Cuál es la fecha de mañana? mean and how would you reply?
How many seconds in 2.6 days
Two identical capacitors are arranged in a circuit. What is the ratio of the equivalent capacitance of the circuit when the capacitors are in series to that whe
Write each decimals as a fractions or a mixed number. 26.3 and 7.104 >> help <
Which measurement is not equal to 3 m 30 dm or 300 cm or 3000 mm or 3000 cm
I need to factor 5a^2 + 7a + 6b^2 - 4b  but I can't figure it out.......could it possibly be prime?
A picture frame for a square picture has an area of 80 square inches. What is the length of the picture?
Force and Motions: Pushes and pulls of all kinds are________.
Evaporation: Large amounts of water evaporates from the Earth's ________, _______, __________ every day. The water vapor (evaporation) becomes part of the _____