RosettaCodeData/Task/Repeat-a-string/EasyLang/repeat-a-string.easy

6 lines
74 B
Text
Raw Permalink Normal View History

2023-12-16 21:33:55 -08:00
func$ rep s$ n .
2026-02-01 16:33:20 -08:00
for i to n : r$ &= s$
2023-12-16 21:33:55 -08:00
return r$
.
print rep "ha" 5