about | help | code help+videos | done | prefs |
Given a 3-digit number, return True if it's divisible by 3. Otherwise, return False. digits is a list containing each digit of the integer. For example, if the value is 556, then digits will be [5,5,6]. hundredsThatAreDivisibleBy3List([5, 5, 6]) → False hundredsThatAreDivisibleBy3List([1, 2, 3]) → True hundredsThatAreDivisibleBy3List([1, 1, 1]) → 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