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

As can be expected, Antarctica is one of the wettest continents on earth. a. True b. False
There are 26 biscuits altogether on two plates. The second plate has 8 fewer biscuits then the first plate. How many biscuits are there on each plate?
What is a therapeutic community?
If your skin swells up from a splinter, or pus forms in a cut, your _____ system is working to treat the area.
Larisa buys 5 hats for $9.99 each. how much does she spend
The journey from West Africa to the West Indies and British North America was also known as the a. first passage. b. middle passage. c. second leg. d. trian
The only two Democrats to serve as President from 1860 to 1916 were: Lincoln Cleveland Douglas Wilson
Good conversation skills require both listening and speaking fluency. a. True b. False
A __________ region groups people together according to their traditions. A. cultural B. physical C. climate D. spatial
Within a single use of the scientific method, which of the following steps can only be performed after data is collected? A. Controls and variables are chosen.