Hello, i have a little question, how to generate a random number from 1 to 30 with (4,5,9,10,17,19,2) excluded ? solution 1 : generate some kind of dataset of the numbers you want included and then get then use Random.Range(0, data.Count - 1) as the index of that dataset solution 2 : or brute-force it and just keep…