Numpy zufällige Einträge wiederholen sich nicht
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)