Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

reverse range in python

for i in reversed(range(5)):
    print(i)
    
# Output :-
# 5
# 4
# 3
# 2
# 1
# 0
 
PREVIOUS NEXT
Tagged: #reverse #range #python
ADD COMMENT
Topic
Name
4+7 =