samedi 12 septembre 2020

generate random numbers within a certain range to obtain a fixed sum [duplicate]

i need to generation of random numbers in a certain range to obtain a fixed sum

sum =3050

sum will be split into 31

required values in range = (98,100)

please suggest the topic and any code in python or numpy




Aucun commentaire:

Enregistrer un commentaire