For this Question: the user would input n, the number of values in the data, then he will enter those n datapoints, considering the estimated mean to be 30, 
Now based on the p- value of the data, reject or accept null hypothesis
the criteria for rejecting null hypothesis is pval<0.05

If from the criteria null value is rejected print
"we are rejecting null hypothesis"
else print
"we are accepting null hypothesis"3
29
30
31we are accepting null hypothesis-, I have written this Solution Code: from scipy.stats import ttest_1samp
import numpy as np
inputs = []
n = int(input())
for i in range(n):
    inp = input()

    inputs.append(int(inp))
ages_mean = np.mean(inputs)
tset, pval = ttest_1samp(inputs, 30)
# print(round(pval,5))
if pval < 0.05:    # alpha value is 0.05 or 5%
   print("we are rejecting null hypothesis")
else:
  print("we are accepting null hypothesis"), In this Programming Language: Python, Now tell me if this Code is compilable or not?