about | help | code help+videos | done | prefs |
Repeat a certain character and certain number of times and return it as a string. ( "a", 5 --> "aaaaa" ) getRepeatingChar("a", 5) → "aaaaa" getRepeatingChar("b", 6) → "bbbbbb" getRepeatingChar("c", 7) → "ccccccc" ...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: 100
Copyright Nick Parlante 2017 - privacy