I have the following list:
priority=['Emergency','High','Normal','Low']
I need to generate a list such that each of the values in priority will be repeated 15000 times, with frequency of each of them being 10%,20%,30%,40%. Can somebody show me how to do it?
Aucun commentaire:
Enregistrer un commentaire