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

please help and explain step by step​
2/5h + g = d (solve for h) please show work, thanks!
What role did Adelina Otero-Warren play in women's suffrage? a. She tried to reach more Hispanic women. b. She became head of the state advisory group. c. She b
The length of a rectangle is 3 centimeters less than twice its width. If the perimeter of the rectangle is 18 centimeters. find its dimensions Equation: ? Lengt
Help! locus points! 1. In a plane, the points 2 cm from a given point X. 2. In a plane, the points 1 cm from a given line AB.
What condition may a patient have that requires the use of assistive eating devices? Check all that apply A. arthritis B. broken bones C. decreased motor functi
Not sure where to begin with this
What is the value of 3ab + 5b - 6 when a = -1 and b = 3? 0 6 18 24
Please help thank you
A, B and C are collinear and B is between A and C. The ratio of AB to AC is 1:3. If A is at (2,-6) and B is at (3,-1) what are the coordinates of point C