Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to print 0 to 10 in python

#if Want to print 0 to 9
for i in range(0,10):
    print(i)
    i += 1
#if want to print 1 to 10
for i in range(0,10):
    i += 1
    print(i)
 
PREVIOUS NEXT
Tagged: #print #python
ADD COMMENT
Topic
Name
3+5 =