Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

call a Python range() using range(stop)

# welcome to softhunt.net
# Python program to
# print whole number
# using range()

# printing first 5
# whole number
print('printing first 5: ')
for i in range(5):
	print(i, end=" ")
print()

# printing first 10
# whole number
print('printing first 10 :')
for i in range(10):
	print(i, end=" ")
print()
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #call #Python
ADD COMMENT
Topic
Name
7+5 =