import random l = [] for i in range(50): l.append(random.randint(1, 100)) print(l)
Now in the list of 50 random numbers is there a possibility ever of 100 being included?
Aucun commentaire:
Enregistrer un commentaire