samedi 30 avril 2016

Select a random positive element in a list in Python

I need to select a random positive element from a list.

I can select a random number, but how can I limit selection to the positive numbers?




Aucun commentaire:

Enregistrer un commentaire