about | help | code help+videos | done | prefs |
Write a mode() function that has a numbers parameter. This function returns the mode, or most frequently appearing number, of the list of integers passed to the function. mode([]) → None mode([1, 2, 3, 4, 4]) → 4 mode([1, 1, 2, 3, 4]) → 1 ...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: 301 Post-solution available
Copyright Nick Parlante 2017 - privacy