Print First 10 natural numbers using while loop
All Answers
need an explanation for this answer? contact us directly to get an explanation for this answer
need an explanation for this answer? contact us directly to get an explanation for this answer
need an explanation for this answer? contact us directly to get an explanation for this answer
counter = 1
for x in range(10):
print(counter)
counter +=1
total answers (2)

Programming
Python programming