Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

if start and end point is same in range function python

# negative range from -10 to -1
# start = -10
# stop = 0
# step = 1
for i in range(2, 2):
    print(i, end=', ')
# Output -10, -9, -8, -7, -6, -5, -4, -3, -2, -1,
Source by pynative.com #
 
PREVIOUS NEXT
Tagged: #start #point #range #function #python
ADD COMMENT
Topic
Name
2+5 =