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

The attraction of the positive end of one molecule for the negative end of a neighboring molecule is a(n) a. covalent bond. c. ionic bond. b. dipole-dipole
Which of the following accurately describes properties of valence? A. The greater the number of electrons an atom has to borrow or to lend, the
Which of the following are endpoints of the segments shown in the picture? Check all that apply. A. Point A B. Point B C. Point C D. Point D E. P
what act gave parliament the right to make any laws they wished to regulate the colonies
how did the capitol torture peeta ? ( mockingjay )
Mechanical digestion is the chemical breakdown of chunks of food into smaller pieces. TRUE OR FALSE
The following sentence fragment can be completed by adding the words ‘The story’: deals with Chicano (Mexican American) culture in a neighborhood. True False
What is the value of P for the following triangular prism?
What is the factorization of 216 times 12 - 64?
Which word is an adjective? Please help. Thank you!