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
English,
2 hours ago
Physics,
2 hours ago
Environmental Sciences,
4 hours ago
Computer Science,
4 hours ago
English,
7 months ago
Math,
7 months ago