From tech troubles to travel tips, IDNLearn.com has answers to all your questions. Find in-depth and accurate answers to all your questions from our knowledgeable and dedicated community members.

CodeHS Python: Using a while loop, print out a list of numbers from 5 to 55 by fives

Sagot :

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.