# -*- coding: utf-8 -*-
"""
Created on Mon Jan  3 12:31:09 2022

@author: Sim
"""
import scipy.stats as st 

t0 = (174-169)/(9/49**.5)
p0 = 1-st.t.cdf(t0, df=49-1) # 단측검정
print(t0, p0)