RosettaCodeData/Task/Repeat-a-string/Lingo/repeat-a-string-1.lingo
2023-07-01 13:44:08 -04:00

7 lines
104 B
Text

on rep (str, n)
res = ""
repeat with i = 1 to n
put str after res
end repeat
return res
end