Получить список со случайными числами Python
from num_tool import random_num_list
print(random_num_list(0, 5, length=20))
Impossible Ibex
from num_tool import random_num_list
print(random_num_list(0, 5, length=20))
import random
# list of n elements, going between a and b
list = [random.randint(a,b) for _ in range(n)]
print("list:", list)