# -*- coding: utf-8 -*-
"""
Created on Mon Jan  3 12:36:13 2022

@author: Sim
"""
import scipy.stats as st 

t0 = (9.5-10)/(2/100**.5)
p0 = st.t.cdf(t0, df=100-1) # 단측검정
print(t0, p0)