import numpy as np
### Enter code here:
import numpy as np
phat = 0.6
n = 10
N = 1000
cnts = np.random.binomial(n=n, p=0.5, size=N)
phats = cnts/n
print("S.E. = ", phats.std())
print("p-value :", len(phats[phats >= phat])/N)
n = 100
N = 1000
cnts = np.random.binomial(n=n, p=0.5, size=N)
phats = cnts/n
print("S.E. = ", phats.std())
print("p-value :", len(phats[phats >= phat])/N)