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

Find 'x' in the following ​
there is a label__(in ,at,on) the inkpot.​
Rewrite each sentence using correct capitalization. 1. did sergeant brown congratulate ms. jones on her promotion? 2. a new musical plan was developed by profes
1. The Vietnamese people ----------- a heroic people. A. is B. are C. was D. were2. Miss White------------ her parents is going to pay a visit to the Great Wall
P.1 is a variant of SARS-CoV2. This is the so-called "Brazil variant". It has the amino acid the substitution N501Y in the spike protein on the virus surface. I
Help me with these questions plz
Mass of the sun is 2x10³⁰ kg and that of the earth is 6/10²⁴ kg and the distance between them is 1.5 x 10¹¹m. What is the gravitational force produced between
Pleaseeeeee Within 9 hours, the number of stars seen went from 190 to 33 as the sun started to rise. Find out how many stars are getting hidden by the sunlight
Explain why the majority of people in Europe supported Appeasement in 1930s
Define Siamese twins