simulate 1 million tests of two fair coin flips tests = np.random.randint(2, size=(int(1e5), 2)) # sums of all tests test_sums = tests.sum(axis=1) ...
確定! 回上一頁