about | help | code help+videos | done | prefs |
getFirstThreeElements
Return the first three elements of a String list in a new String list. If the input list is of size less than 3, then return itself. getFirstThreeElements(['']) → [''] getFirstThreeElements(['a']) → ['a'] getFirstThreeElements(['a', 'b']) → ['a', 'b'] ...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