RosettaCodeData/Task/Repeat-a-string/Euphoria/repeat-a-string-2.euphoria

5 lines
209 B
Text
Raw Permalink Normal View History

2013-04-10 23:57:08 -07:00
-- Here is an alternative method for "Repeat a string"
include std/sequence.e
printf(1,"Here is the repeated string: %s\n", {repeat_pattern("ha",5)})
printf(1,"Here is another: %s\n", {repeat_pattern("*",5)})