about | help | code help+videos | done | prefs |
Given a 3-digit number, return True if it's divisible by 5. Otherwise, return False. The digits parameter is a list containing the number's digits. For example, if the given value is 556, then digits will be [5,5,6]. divisibleBy5List([5, 5, 6]) → False divisibleBy5List([1, 2, 5]) → True divisibleBy5List([1, 1, 0]) → True ...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: 125 Post-solution available
Copyright Nick Parlante 2017 - privacy