how can i generate 22 times randomly between ‘A’ and ‘B’ but 11 time maximum of each in python
i wana make a class that get a name and set it to random team between team A and team B and then sey it out but needs to be from 22 people and 11 in each team how can i make random not give me more than that amount that i want in python ?
i made this program but its not random on how many time maximum each of them have been chosen:
Predict the seed of random number
I just want to pridict the the seed of random number.
I have given random numbers with the range value.
I just want that from this we find what is the seed value. For that
I know by applying loop but it’s very machine heavy process it’s like finding a particle of sand in the universe.