输出应包含一个 NumPy 数组,其中 10 个数字表示所需的二项分布。
import numpy as np
import pandas as pd
pd.set_option('display.max_columns', 500)
seed=int(input())`enter code here`
n=int(input())
p=float(input())
i = 1`enter code here`
while i < n:
a = np.random.binomial(n, p)
s=np.array(a)`enter code here`
print(s)
i += 1