# [Pyth], <s>6</s> 7 bytes

 QWQ=OQQ

[Try it online!][TIO-jjeceqyv]

[Pyth]: https://github.com/isaacg1/pyth
[TIO-jjeceqyv]: https://tio.run/##K6gsyfj/PzA80NY/MPD/fzMA "Pyth – Try It Online"

+1 to print the initial input value.

While Q is truthy, set Q to be a random integer between 0 and Q and print Q.

Not the shortest Pyth answer but I'm just learning and only posting because of the recent discussion about no-one using Pyth any more :)