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

The fall of the Berlin Wall, which reunited Communist East and capitalist West Germany, took place in November of _____
Rahzel wants to determine how much gasoline he and his wife use in a month.He calculated that he used 78 1/3 gallons of gas last month. Rahzel's wife used 41 3/
is a American Robin a omnivore or a herbivore?
The world’s endin’, Atticus! Please do something—!’ I dragged him to the window and pointed. ‘No it’s not,’ he said, ‘It’s snowing.’ Jem asked Atticus would i
One should avoid using the information on a site if
You split $1500 between two savings accounts. Account A pays annual 5% interest and Account B pays 4% annual interest. After one year, you have earned a total o
Military campaigns and numerous other war time events have never been depicted through paintings and sculptures by artists. a. True b. False
Presidents often make ___________________ with leaders of other nations because doing so does not require the approval of the Senate. a. informal treaties b.
what was the royal road and why was it built
96/120 as a percentage