python for loo to iterate from n to 0 code example
Example: python for loop 0 to n
def range_back(start,end):
return chain(range(start,end),range(end,start,-1))
def range_back(start,end):
return chain(range(start,end),range(end,start,-1))