Select n elements randomly form list
Select n unique elements randomly from list.
Script Setup
list = Sequence(k, k, 1, 10)
a = Slider(1, 10, 1, 1, 200)
randomList = Sample(list, a, false)
# If you don't want unique values then
# randomList = Sample(list, a, true)