about | help | code help+videos | done | prefs |
Define a function that when passed a String, returns the String without the first AND the last characters. See the test cases about what to do when there are less than 2 characters in the String. without_first_last('Hello') → 'ell' without_first_last('$') → '' without_first_last('Taxicab number 1729') → 'axicab number 172' ...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: 1 Post-solution available
Copyright Nick Parlante 2017 - privacy