SciPy - Statistical Tests
Identify the error in this code:
from scipy.stats import ttest_1samp sample = [2, 4, 6, 8] t_stat, p_val = ttest_1samp(sample) print(p_val)
