Python 3.7.2
from random import randint as rnd
mins = []
random_list = list(set([rnd(-99,99) for i in range(rnd(1,100))]))
random_list.sort()
for i in random_list:
mins.append(i)
if len(mins) == 3: break
print(mins)
Python 3.7.2
from random import randint as rnd
mins = []
random_list = list(set([rnd(-99,99) for i in range(rnd(1,100))]))
random_list.sort()
for i in random_list:
mins.append(i)
if len(mins) == 3: break
print(mins)