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

DEVELOPMENT ETHICS ADDRESS 3 KEY THEME PARATES THEM.​
Click one of the arrows to see how Viviana's cholesterol levels change if she changes her intake of a particular type of fat for a period of two months. Notice
Evaluate 6 + 4/a + b/3 when a=4 and b=3.
Refer to the article "Aboriginal Australians and Dreamtime Creation Myths." Part A What does the author explain about the inclusion of a sun goddess in the st
(true or false) the mass needed to sustain a nuclear chain reaction is known as the critical mass.
A TV satellite dish has a parabolic shape. Signals reflect off the dish and are collected at the focal point (focus) of the parabola. The distance from the vert
Which function represents the graph of f(x) = -3|x| after it is translated 5 units down? - g(x) = -3|x| +5 - g(x)=-3x - 5| - g(x) = -3|x + 5| - g(x)=-3x - 5
Find P(Z > 3.89) Pls I need help
A pencil is 712 inches long. How long is the pencil in centimeters?
The graph of y-3=2.5(x-1) is shown. ( check image ) the graph can be used to model the amount of water , y , being poured into an 8 - ounce glass iver x seconds