Randomly choose an element in a list and remove the chosen one for next round
Hi all,I have a list[1,2,3,4,5,6,7,8,9,10] that I want to randomly choose an element, and then remove that element from the list for the next random selection. I need to repeat the selections 4 times.Is there a easy way to remove the selected element in the list? Both Remove and Remove From need the ith index of the elements. Thank you for your help.