Repeat a string: Difference between revisions

Content added Content deleted
(→‎{{header|Processing}}: adding Processing Python mode & Python)
Line 1,672: Line 1,672:
}</lang>
}</lang>


==={{header|Processing}}===
==={{header|Processing Python mode}}===
<lang python>def setup():
<lang python>def setup():
rep = repeat("ha", 5)
rep = repeat("ha", 5)