Convert the following while loop into for loop: x=10 while x<=10: print (x+20) x+=2
Answers
Answered by
15
Answer:
x=10
#while x<=10:
for i in range(10, 11):
print (x+20)
x+=2
Explanation:
Similar questions
Math,
4 months ago
Physics,
4 months ago
English,
9 months ago
Math,
9 months ago
Computer Science,
1 year ago
Social Sciences,
1 year ago
Math,
1 year ago