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

Some victims do not report abuse and violence they are suffering. discuss two reasons why many cases of abuse abd violence are not reported
What provisions were the main part of the northwest ordinance?
A circle has circumference 28.26 cm. What is the area of ​​the circle? Use 3.14 for pi
Name a point that is between 50 and 60 units away from (7, -2) and state the distance between the two points.
Las personas son tan groseras! ¿Nadie está de acuerdo?
Find the measure of each angle indicated.
Who was in bagel heights battle?
Four members of a track team run a relay race in 165 seconds. how many minutes did it take them to run the race?
How do you stop someone from being anorexic
Because of slumping sales a small company had to lay off some employees. the ratio of total employees to employees laid off is 5 to 1. How many employees were l