It seems like it's simple coding, but it's getting longer because I'm trying to do something without learning it.
To give you a rough explanation, I want to find the number that comes out the most per code (F1AA, F1BB, etc.) by spinning a lot randomly, but I can only implement it yet.
Is there any way to simplify it or code for finding the numbers that come out a lot here?
I'm sorry I didn't explain too much.python
I'm not sure. If you have learned probability and statistics, you will know that if you perform
random.randomint (0, 52) very often,
F1AA will be assigned very evenly with a probability of 1/53 each of the integers from
F1CC would be from
156. If so, literally finding the "number that came out the most for each code" is a little overshadowed, as long as the law of large numbers is valid.
Looking at the comments again, I guess I just need to get a snapshot of 100 times. Then you can just use the code roughly.
© 2022 pinfo. All rights reserved.