in reply to counting backward
Because the range operator is defined as low .. high and as 10 is higher than 0, it does nothing.
There are a couple of ways of doing what you want:
Which is okay for small ranges; but creates a huge list for large ones.
Which works for any size range without creating a huge list.
|
|---|