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

What are the similarities between the adrenal hormone cortisone and the synthetic corticoid prednisone?
Cholecystokinin, which is produced in the small intestine, inhibits gastric secretions in the stomach. True or false?.
Part B Based on your research and understanding of Bush's new world order, was it realistic? Write 1–2 sentences to state your position and reasoning.
Who are the cossacks and what is their role in the history of Ukraine?
Consider this reaction: 6 CO2 + 6 H2O + light equation C6H12O6 + 6 O2 If there were 2.38 x 102 g of H2O, 18.6 moles of CO2, and plenty of light, which reactant
What have we learned from the work of harlow shapley and others about the location of the sun in the milky way galaxy?.
Question 21 Which of the following salts will produce an acidic solution? K2CO3 Sr(CIO4)2 KBr NH41 NaNO3
What products are formed in the following reaction
Roger owns a one-acre piece of land. the length of the land is 484 feet. what is the width of his property? (hint: one acre = 43,560 square feet)
Identify the 7th term of the geometric sequence in which a2 = 324 and a4 = 36.