| about | help | code help+videos | done | prefs |
LOOPs_everyNth
Return a string made of every n-th character of s starting at index 0. If n <= 0, return "". - everyNth("abcdefg", 2) → "aceg" - everyNth("Hello, World!", 3) → "Hl r!" - everyNth("abc", 5) → "a" LOOPs_everyNth("abcdefg", 2) → "aceg" LOOPs_everyNth("Hello, World!", 3) → "Hl r!" LOOPs_everyNth("abc", 5) → "a" ...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