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 force of 350 N causes a body to move with an acceleration of 10 m/s2. What's the mass of the body?
What characterizes a cold glacier? PLZ HELP
When people don't clearly recognize the cause of their frustration, they A. solve their problems peacefully. B. are said to be experiencing a minor fru
Which best describes the fate of the Freedmen's Bureau? A. The agency’s power was weakened by conflict and political fighting. B. The agency was powerful becaus
Which of the following sentences demonstrates proper capitalization? [L.11-12.2lO A. Virgil in the aeneid, wrote "fortune favors the braveO B. Virgil in the aen
How many grams of O2 are needed to react with 120g of NO?
which of the following is a physical property of wood
Who became the US President after Richard Nixon resigned?
What is 85% as a fraction?
Which of these BEST describes why more men became part of the temperance movement in the United States in the 1830s?