fast please
Write a program using WHILE loop in Python to print the first 20 natural numbers.
Answers
Answered by
1
Answer:
iterate=1
while iterate<=20:
print (iterate)
i+=1
Step-by-step explanation:
we are initializing an iterating variable named iterate with value 1. The while loop will iterate as long as it is below 21. The Print method will print the numbers.
Similar questions