How to randomly generate decreasing numbers in Python?
I would generate a list of n random numbers then sort them highest to lowest.
I'm wondering if there's a way to generate decreasing numbers within a certain range?
I want to program to keep outputting until it reaches 0, and the highest number in the range must be positive.
For example, if the range is (0, 100), this could be a possible output:
96
57
43
23
9
0
Sorry for the confusion from my original post