You are on page 1of 1

for counter in range (1,11,3):

print(counter)
# Writing the same loop program using while loop
counter=1
while counter <= 11:
print(counter)
counter= counter+3

You might also like