| about | help | code help+videos | done | prefs |
firstmul5
Given a list of strings, return the first string whose length is a multiple of 5. If there is none, return the empty string "". (Note that 0 is a multiple of 5.) firstmul5(['car', 'carabine', 'caracole', 'caravan', 'carbohydrate', 'carbon', 'card', 'cards', 'care', 'careen']) → 'cards' firstmul5(['cedar', 'ceiling', 'celebratory']) → 'cedar' firstmul5(['cigars', 'cinched', 'cinder']) → '' ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy