Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 212 Bytes

File metadata and controls

12 lines (8 loc) · 212 Bytes

String Repeater

Create a function that repeats a given string a specified number of times.

Example:

Input:

  • String: "hello"
  • Repeat Count: 3

Output:

  • Repeated String: "hellohellohello"