Compare the averages of my lists – codegolf.stackexchange.com 11:33 Posted by Unknown No Comments Getting the average of a list (e.g [2,6,7]) Get the length of the list: [2,6,7] -> 3 Sum the umbers in the list: 2 + 6 + 7 = 15. Divide the sum by their count: 15 / 3 = 5. You should compare the ... from Hot Questions - Stack Exchange OnStackOverflow via Blogspot Share this Unknown
0 Comment to "Compare the averages of my lists – codegolf.stackexchange.com"
Post a Comment