mardi 21 décembre 2021

Random number function python that include 1 but not include 0

I need to generate a number from 0 to 1 that include 1 but not include 0

The random.uniform(0,1) function include 0 but not include 1

How is it possible to do that?




Aucun commentaire:

Enregistrer un commentaire