Computer Science, asked by chirag11082009, 7 months ago

k=10
while (k<20):
print (k)
k+=5
convert the following while loop into for loop in python ​

Answers

Answered by byritesh7483
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