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

Which expression does not factor? M^3+1 M^3-1 M^2+1 M^2-1
Identify the simplest polynomial function having integer coefficients with the given zeros: 5, −2, 3
Assume m1 = 1 kg, m2 = 3 kg, and x1 = 1 m, x2 = 5 m, where is the center of mass of these two objects?
what is the irony of text lebanon's drinking water.​
find x and y given that 2x-10= 4y and 3y = 5x-18​
Assume m1 = 1 kg, m2 = 3 kg, and x1 = 1 m, x2 = 5 m, where is the center of mass of these two objects?
PLEASE HELP Will the answer be A) or D) there is confusion. I think it is D but it might be A because the figure has 1 hexagon, 2 pentagons, 2 squares and in th
C'est quoi ressources humaines
A circuit consists of a capacitor of 2 F and a resistor of 1000 Ω. An alternating current e.m.f of 12 V and a frequency 50 Hz is applied. Find; (i) the current
for a different football match, 297 tickets were sold for £9.50 each. 399 tickets were sold for £19.50 each. work our an estimate for the total amount of money