<filename>python/day_6c.py
# Central Limit Theorem III

samples = float(input())
mean = float(input())
sd = float(input())
interval = float(input())
z = float (input())

sd_sample = sd / (samples ** 0.5)
print(round(mean - sd_sample * z, 2))
print(round(mean + sd_sample * z, 2))

<filename>python/day_6c.py
# Central Limit Theorem III

samples = float(input())
mean = float(input())
sd = float(input())
interval = float(input())
z = float (input())

sd_sample = sd / (samples ** 0.5)
print(round(mean - sd_sample * z, 2))
print(round(mean + sd_sample * z, 2))

# Central Limit Theorem III