Convert the following for loop into a while loop:
for k in range (20,10,-5):
print(k)
Answers
Answered by
0
Answer:
while True:
for k in range(20,15,-5):
print(k)
Explanation:
We can use while True loop to make this loop rup infinite in python. Note: You will not see -5 because it is out of the range.
Similar questions
Math,
2 months ago
English,
2 months ago
English,
2 months ago
Environmental Sciences,
4 months ago
Computer Science,
4 months ago
English,
11 months ago
Math,
11 months ago