Is there a way of using the range() function with stride -1?
range()
E.g. using range(10, -10) instead of the square-bracketed values below?
range(10, -10)
Yes, by defining a step:
for i in range(10, -11, -1): print(i)