random.py
import random def gen_lst(n): i = 0 new = [] while i < n: new.append(random.randrange(n)) i += 1 return new