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 TV at an electronics store originally costs $600, but it is on sale for 30% off. If a customer buying the TV has a coupon for $35.00 off of any purchase, what
Shakespeare structured The Tempest so it ends with Prospero addressing the audience directly. How does this decision most clearly affect the story? A. It reveal
When water is added to the sand-salt mture what wil happen next?
Which is a reader uses word choice, patterns of events, and other clues to determine meaning
What is the total amount in an account that has had $45 per month added into it for 30 years and grew with an annual interest rate of 8%?
The area of a trapezoid is 36 in.² the height is 4 inches and one bases twice the length of the other place what are the lengths of the bases
heat from the sun moves through space by the process of
What are the 5 factors that can lead to evolution?
What is a 3 digit number that is less thsn 200 divisible by 12 and 9 is not a square number and the tens digit is greater than the units digit?
What is -3+4=-5 with work