about | help | code help+videos | done | prefs |
Write a function sumOdds(data) that returns the sum of only the odd integers in the list data. For example, sumOdds([1, 2, 3]) should return 4. sumOdds([1, 2, 3, 4, 5]) → 9 sumOdds([1, 2, 3, 5, 5]) → 14 sumOdds([1, 1, 1, 1, 1]) → 5 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy