Convert the following while loop into for loop
x=3
while(x<=10):
print(x+2)
x=x+1
Answers
Answered by
0
x = 3
'''while(x<=10):'''
for x in range (x,11):
print(x+2)
Similar questions