What is the equivalent of this Scala line in Python?
random.shuffle(points).take(k)
I don't seem to find the take method for shuffle in Python
Aucun commentaire:
Enregistrer un commentaire