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

125 centimeters to 87.5 centimeters
The legs of an isosceles triangle have lengths x+1 and -x+7 . The base has length 3x-3. What is the length of the base? a. 6 b. 3 c. 4 d. cannot be determined
which of these is a personal tragedy Edgar Allan Poe experienced? a. his brother was killed in the war b. his young wife died of tuberculosis c. his father wa
A SPORTING GOODS COMPANY CAN SHIP 6 FOOTBALLS IN EACH CARTON. HOW MANY CARTONS ARE NEEDED TO SHIP 75 FOOTBALLS
2. What are three other ways you can reinforce your message when you’re saying no?
popular sovereignty refers to rule by?A) The elite. B) Populists C) Sovereigns D) The people
$30 is 60% of what number?
If you wanted to make a prediction about an event that required complicated analysis of data which tool would be the most helpful? a. scale b. a scientific mode
An object is traveling at a constant velocity of 15 m/s when it experiences a constant acceleration of 3.5 m/s2 for a time of 11s. What will its velocity be aft
It looks like the choir director is more interested in her than me.