Computer Science, asked by suneel7898, 9 months ago

Convert the following while loop into for loop: x=10 while x<=10: print (x+20) x+=2

Answers

Answered by challaharsha680
15

Answer:

x=10

#while x<=10:  

for i in range(10, 11):

   print (x+20)  

   x+=2

Explanation:

Similar questions