Just create a list with each line having a unique number on it (for example, from 0 to 9). This is where the random number will be picked from. Then, when you want a non-repeating random number,...