Computer Science, asked by zirconium235, 4 months ago

Rewrite the following program using while loop:
for k in range(10,20,5):
print(k)

Answers

Answered by allysia
0

Correction:

\\\tt for\ k\ in\ range(10,20,5):\\\tt {\qquad print(k) }

Answer:

\\\tt k=10\\\ttwhile \ k<20:\\\tt {\qquad print(k)}\\\tt {\qquad k+=5 }

Similar questions