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

Trying to translate word problems. Five times the sum of 3 and twice some number is 70. what is the number?
Why is RNA necessary to act as messenger?
in what ways is climate controlled by the sun and the water cycle ?
A 1 digit number and a 3 digit number have a sum of 205.  The same two number have a difference of 195, a product of 1,000 and a quotient of 40.  What are the t
What is two thirds minus six thirds
What is Sir Francis Drake hardships
.is a pot holder a conductor or a insulator
Rewrite the function c(x) =9(x+3) using the distributive property
Does the depth of a pan affect how water freezes?
Trying to translate word problems. Five times the sum of 3 and twice some number is 70. what is the number?