I have 3 labels: "A","B","C".
I want to generate a random list with 100 elements, 60% of them are "A", 30% are "B", 10% are "C".
How can I do this? (I am new in python, hope this question is not too silly.)
Edit: My question is slightly different from this question: Generate random numbers with a given (numerical) distribution
Just like in the comment, I want exactly 60% of them are "A", not every element has a 60% probability to be "A". So the numpy.random.choice() is not the solution for me.