I need to choose a random float number in two ranges in python : 0. < n < 0.2 & 0.8 < n < 1.
Right now I only have one range random.uniform(0, 0.2)
The full line (I'm mapping warm color hsv values) : couleur=hsv2rgb(random.uniform(0, 0.2), 1, 1)
If someone could help... !
Aucun commentaire:
Enregistrer un commentaire