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

Which of the following was not an Eastern European nation under Communist control? A. Poland B. East Germany C. Romania D. Spain
Something that represents or stands for beliefs values or resources of a country
What surplus products did Sumer have?
In solution, rocks are _____. smashed together dragged along the river bed dissolved by salts and acids smashed into river banks and river beds
A stone held above the ground has potential energy. When the stone is dropped, potential energy is converted to _________ energy. a. chemical b. thermal c. el
estimate the sum of 279 and 217
Which microscope uses a probe to map atoms on the surface of a specimen?
The ratio of girls to boys on a soccer team is 2 to 3. If there are 25 players on a team, how many are girls? Solve by writing and solving a proportion
___________ and __________ are important steps in the listening process. a. Recall and remembering b. Remembering and communicating c. Recall and attending d. A
Which other empires influenced ancient history? What were their contributions to human civilization?