import random x = 5 saida = [] for _ in range(x): saida.append(random.choice(range(100))) print saida saida = [] for _ in range(x): saida.append(random.randint(0, 100)) print saida saida = [random.randint(0, 100) for _ in range(x)] print saida
Standard input is empty