I am getting list.remove(x) error so what am I doing here is that, am using this program to generate random numbers without duplicates from a set range and removing the number a