about | help | code help+videos | done | prefs |
bbvdMultipleLtr
Write a method that accepts a string 'str' and a number of times to repeat each letter called 'count'. Return a string made up of 'count' copies of each letter in the original string 'str'. Note that 'count' could be zero or a positive integer, but will not be negative. Also note that 'str' could be an empty string. bbvdMultipleLtr("", 524) → "" bbvdMultipleLtr("G", 1) → "G" bbvdMultipleLtr("empty", 0) → "" ...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: 230
Copyright Nick Parlante 2017 - privacy