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