import random import time numbers = [] count = 10 random.seed(round(time.time())) for i in range(count): numbers.append((random.randint(0, 50))) print(numbers) print(f"Maximum value is {max(numbers)}") print(f"Minimum value is {min(numbers)}")