I tried using random.randint(0, 100), but some numbers were the same. Is there a method/module to create a list unique random numbers?
random.randint(0, 100)
Note: The fol
import random result=[] for i in range(1,50): rng=random.randint(1,20) result.append(rng)