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

According to the graph, which two surfaces have the least friction? A Glass and Tile B Glass and Wood C Carpet and Glass D Wood and Tile
Holden calls other people phony. In what way is he one?​
When was the first voting machine used?
How would the distance moved by the skateboard compare if one person had a lot more mass than the other person?
1. A map has a scale 3 cm: 4 miles. What is the actual distance between two cities that are 22.5 cm apart on the map?
Please help me answer! Name the angle pair and find the missing angle measure
Elmview School has an annual carnival. Each year, the school needs 2b+18 balloons for carnival decorations, where b is the number of booths. Elmview has 12 boot
Which of these expressions is equivalent to z + 2 + 2 + z? 4 + z A B 4 +24 с 42 o o 424
triangle angle sum theorem what is the value of v?
When we first learn arithmetic, we focus on working with whole numbers. Then, we extend our understanding to fractions and negative numbers. In algebra, we tran