about | help | code help+videos | done | prefs |
divisibleBy2List
Given a positive integer, return True if it's divisible by 2. Otherwise, return False. digits is a list containing each digit of the integer in order from left to right. For example, if the integer is 556, then digits will be assigned [5,5,6]. divisibleBy2List([5, 5, 6]) → True divisibleBy2List([1, 2, 3]) → False divisibleBy2List([5]) → False ...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: 150 Post-solution available
Copyright Nick Parlante 2017 - privacy