Repeat a string: Difference between revisions

Line 225:
<lang logo>show cascade 5 [combine "ha ?] "|| ; hahahahaha</lang>
=={{header|Lua}}==
<lang lua>function repeatrepeats(s, n) return n > 0 and s .. repeat(s, n-1) or "" end</lang>
 
=={{header|OCaml}}==
Anonymous user