k=10
while (k<20):
print (k)
k+=5
convert the following while loop into for loop in python
Answers
Answered by
6
k=10
k=10for i in range(k,20,5):
k=10for i in range(k,20,5): print (i)
output:-
10
15
Similar questions