Cody

Problem 42482. Repeat string n times

Created by Mehmet OZC in Community
  • You will be provided a string (s = 'string1_')
  • a starting point (num1 = 6) (always bigger than or equal to zero)
  • and n (n = 3) (always bigger than or equal to 1)

You will return following in sequence;

 {'string1_6'
  'string1_7'
  'string1_8'}

You can not use for or while loops

Solution Stats

35.29% Correct | 64.71% Incorrect
Last solution submitted on May 20, 2019