dimanche 27 mars 2022

How do include the upper limit of `rand` in Clojure?

In Clojure's rand function, the lower limit 0 is included, but the upper limit is not. How to define a rand function equivalent which includes the upper limit?




Aucun commentaire:

Enregistrer un commentaire