We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Day 1: Standard Deviation
Day 1: Standard Deviation
Sort by
recency
|
425 Discussions
|
Please Login in order to post a comment
import statistics as st def stdDev(arr): m = st.mean(arr) s = [ (i-m)**2 for i in arr ] return print(f"{(sum(s)/len(arr))**0.5:.1f}") `