about | help | code help+videos | done | prefs |
Given five dice rolls, return a count of how many of those rolls were the number 5. count5(1, 3, 6, 2, 5) → 1 count5(5, 5, 5, 5, 5) → 5 count5(1, 2, 3, 4, 6) → 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
Difficulty: 100
Copyright Nick Parlante 2017 - privacy