8,120 questions

11,301 answers

573 users

import random the_numbers = [0] * 15 size = len(the_numbers) for i in range(size): the_numbers[i] = random.randint(1, 500) print(the_numbers) ''' run: [148, 97, 189, 302, 374, 54, 16, 460, 157, 33, 377, 69, 274, 463, 220] '''