Les entrées aléatoires numpy ne se répètent pas
from numpy.random import default_rng
rng = default_rng()
numbers = rng.choice(20, size=10, replace=False)
Real Raccoon
from numpy.random import default_rng
rng = default_rng()
numbers = rng.choice(20, size=10, replace=False)