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

**URGENT PLEASE HELP SOON** Each brick in the wall has the dimensions shown below. A rectangular prism with a length of 8 inches, width of 4 inches, and height
Why does an excise tax on gasoline exist?
Essays and paragraphs have a very different structure.
What are weaknesses of a student? and how to improve?​
Ever wondered what drives humans to explore space? What is it we seek? I believe we are driven by the desire to be the first to explore, conquer, and own newly
Which of the following statements must be true about parallelogram ABCD? Options are below
For the first 6% of Bianca's salary, her employer matches 100% of her 401(k) contributions, and from 6% to 12%, Bianca's employer matches 50% of her 401(k) cont
The artist who drew this cartoon was most likely a supporter of which of the following? A. Open immigration B. Laissez-faire economic policies C. Progressive po
Nadia has a handful of coins all of which are either dimes or quarters she has a total of 23 coins in her hand and a total of $3.65 worth of coins let D equal t
What is TRUE about permanent life insurance?