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

Express in simplified exponential notation. x3 • x5 =
what breed of dog is buck? a)husky and scotch shephard mix b) husky c)st bernard and scotch shephard mix d)st bernard
factorise a squared - b squared
What aspect of Bertie's character is revealed through his interactions with Aunt Agatha?
First question A mobilization plan allows a country to A. ensure that all its citizens can read and write. B. assemble its armed forces and move them quickly. C
Explain why exercise programs must increase in difficulty and duration over time to remain effective
A wildlife researcher weighed all the raccoons that were trapped in suburban neighborhoods before they were released back into the wild. The researcher used thi
Which statement is the best example of pseudoscience?
What is the best description of an organism that is fit for natural selection
Trayvon, Julie, and Caleb who are members of the drama club, are auditioning for the school musical on Wednesday.