import random numbers = [] possible_nums = list(range(100)) for i in range(6): num = random.choice(possible_nums) numbers.append(num) print(numbers)