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

Why did the maritime expeditions of the indian ocean basin sponsored by the ming emperor suddenly stop in 1433?
A _____ is a gas-like state of matter made of positive ions, free electrons, and neutral particles. Example: Sun or Neon lights what is the blank?
In the dark waters just below the photic zone, because of cellular respiration, the concentration of dissolved __________ is higher relative to dissolved ______
What is the value of x?
why are people with sickle-cell traits resistant to malaria
What number has 12,24, and 30 as multiples explain how u found out the answer
_______ is a platelet disorder characterized by a low level of platelets in the blood.        A. Anemia   B. Leukemia   C. Lymphoma   D. Thrombocytopen
true or false, the theory of sea-floor spreading explains why rocks of the ocean floor are youngest near the mid-ocean ridge?
NEED INSTANT HELP PLZ!
what is the solution to the equation -3(ht5)+2 =4(h+6)-9h=-4h=-2h=2h=4