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

A tree was chopped down and cut up in a local forest.The tree changed in shape.What kind of change took place?A.chemical changeB.physical change C.phase changeD
what does etymology study?
which explorer sailed for france?
The unstated purpose of the Alien and Sedition Acts was to (A) unite the nation in time of danger (B) deport immigrants who were becoming too numerous (C) prote
Which period was the “golden age of dinosaurs”? a. the Triassic Period b. the Jurassic Period c. the Cretaceous Period d. the Tyrannosaurus Period
What is 1997 from 2014????????????
What were some events/things that caused the Great Depression?
A circular pool is ten feet in diameter and five feet deep. What is its volume, in cubic feet?
What is 0.05 percent of 6.5?
China, Korea, and Japan share cultural similarities in part due to their (1) clashes with Russian imperialists (2) shared river systems (3) contacts through tra