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

[(24+16) divided by 8 times 5)]=? Please answer pllleeeaaaasee.
What are Radio Waves?
please help :-( thanks
Is Smoking in Japan Illegal? Please help me :)
Noah rows across a river that is 48m wide. The current carries him 15m downstream. How far does Noah actually travel?
Solve the equation: -5/4n  = 40My answer choices are: A: n = -50, B: n = -32, C: n = 32, D: n = 50
What are the essential 4 parts for a civilization to develop? Explain how rivers were the source of civilization?
if a sample of magnesium has a mass of 60 g, how many moles of magnesium does the sample contain
Which statement accurately describes the Battle of Marathon?   A. Athens fought alone against Darius's army and decisively defeated the Pers
The widths of two similar rectangles are 16 cm and 14 cm. What is the ratio of their perimeters? Of their areas? a. 8:7 and 64:49 b. 9:8 and 64:49 c. 8 and 81-