Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

exercise of python loops

# program 1: Print first 10 natural numbers
i = 1
while i <= 10:
    print(i)
    i += 1
Source by pynative.com #
 
PREVIOUS NEXT
Tagged: #exercise #python #loops
ADD COMMENT
Topic
Name
8+6 =