How to choose a integer number with the function random in python?
I have a list of numbers and I want to pick a random number with random() from that list so that I can use it in a loop function but python doesn't let me do that even when I write that the random number chosen is an integer.
Aucun commentaire:
Enregistrer un commentaire