Commit b96b949
committed
Implement repeatStr function to repeat a string a specified number of times with error handling for negative counts
1 parent 288b3f1 commit b96b949
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
0 commit comments