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 Japan, there is something called Anime, It's a form of animation in Japan and is one of the most popular types of tv since what year?
Solve the equation for all values of x. - 2x(x − 8)(10x + 1) = 0 From deltamath.com
What is the area in square units of trapezoid ABCD shown Below ?
why does effective goal-setting help us achieve goals?
Apply the dristrbutie property to factor out the greatest common factor of 22c+33d
Function: y= x^2 + 5x - 7 Vertex: Solutions: ( , ) and ( , )
Provide one example of how stress can affect our health.
WHO ARE THE REAL NATIVE AMERICAN INDIAN'S?
look at the image for the question
Five children share 24m of ribbon equally. How much ribbon will each child get? Write your answer as a mixed number.