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

An elephant lives in a grassland area. What are some biotic factors the elephant relies on for its survival? Choose all that apply: Plants the elephant eats. Ot
The measures of the angles of a triangle are shown in the figure below. Solve for x. x° 63° 80°
Which is true regarding pressure? A.) at high pressure, the molecules are moving slower and therefore hitting other particles and the sides of a container less
Look at Picture please
Question 15 ¿Estás segura que no sabes___ A.)nunca B.) nada C.) alguien D.) algo
A class consists of 23 women and 83 mean. If a student is random selected, what is the probability that the student is a woman?
What are the roots of g(x)=(x−1)(x+3) ?
Plz help! (Due tonight!)what was the major issue of the Dred Scott v Sandford Supreme Court case?
How many moles of oxygen gas are necessary to completely react with 10.6 moles of propane? C3H8(g) + 5 O2(g) --> 3 CO2 (g) + 4 H2O (l)
A cone has a volume of 1256 cubic feet and a radius of 10 feet. What is its height?