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

is 9.707 greater than 9.717
multiples of 2,3,4,6,9,10 and 5
What was the "Era of Good Feelings"? a time when Americans moved West a time when there was little political strife a time when Federalists held political power
Solve. w – 8 = 32 A. 4 B. 24 C. 40 D. 256
Which of the following caused sectional argument? a. tariffs b. slavery c. westward d. all of the above
Why do the countries belonging to OPEC not want to produce too much oil at one time?
A machine prints 230 movie posters each hour. Write and solve an equation to find the number or hours it takes thr machine to print 1265 posters
Evidence of climate changes and conditions that affected early societies are gathered from _____.
A way of showing the round earth on a flat map
An active student injured his knee playing basketball and has been advised by his doctor to avoid impact activities that cause heavy force on his bones. What is