hello /sci/, i came from /g/ with a question in probabilities.
i needed to make a program to draw 2 random cards from a deck. i did it using the second method (right) while others did it following the first method. now i'm curious whether the 2 methods are equivalent and provide the same probabilities for all the different combinations of cards to be drawn.
so, are they?
implementations are in python
i needed to make a program to draw 2 random cards from a deck. i did it using the second method (right) while others did it following the first method. now i'm curious whether the 2 methods are equivalent and provide the same probabilities for all the different combinations of cards to be drawn.
so, are they?
implementations are in python
