# your code goes here import random listOne = [] for x in range(10): i = random.randrange(x) listOne.append(i) print(listOne)
Standard input is empty
Standard output is empty
Traceback (most recent call last): File "./prog.py", line 6, in <module> File "/usr/lib/python3.2/random.py", line 182, in randrange raise ValueError("empty range for randrange()") ValueError: empty range for randrange()