| about | help | code help+videos | done | prefs |
countOccurrences
Count and return the occurrences of num in list. countOccurrences([1, 1, 1, 3, 4, 5, 1], 1) → 4 countOccurrences([1, 1, 1, 3, 4, 5, 1], 3) → 1 countOccurrences([1, 1, 1, 3, 4, 5, 1], -1) → 0 ...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