Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ def rep_string_by_n(s:str, n:int)-> str: #it's import to specify the return type
|
|
| 20 |
"""
|
| 21 |
res = ''
|
| 22 |
for i in range(n):
|
| 23 |
-
res +=
|
| 24 |
return res[:-1]
|
| 25 |
|
| 26 |
@tool
|
|
|
|
| 20 |
"""
|
| 21 |
res = ''
|
| 22 |
for i in range(n):
|
| 23 |
+
res += s + '-'
|
| 24 |
return res[:-1]
|
| 25 |
|
| 26 |
@tool
|