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
|
419 Discussions
|
Please Login in order to post a comment
currently it says "Take the square root of 18/5 to get 1.7, the standard deviation." : that's incorrect, shd be 1.9 (!). Anyway, correct code works. Python3:
Easiest Solution
def stdDev(arr): n = len(arr) mean = sum(arr)/n
java....