mercredi 19 septembre 2018

I want to create a function which randomly selects either: red, black or green?

I want to create a function which randomly selects either: red, black or green. The function must set it so red has a 48.655% and black has a 48.655% of appearing. Green should have a 2.63%.

Also be useful if the above could print the results to the document.

Please help?

Thanks in advance.

Aucun commentaire:

Enregistrer un commentaire