Jump to content

Talk:Repeat a string: Difference between revisions

m
added whitespace to separate author's texts.
m (→‎task clarification: added whitespace.)
m (added whitespace to separate author's texts.)
Line 7:
:* repeat that string some number of times
:* optionally show the result
 
:-- [[User:Gerard Schildberger|Gerard Schildberger]] 21:33, 28 October 2012 (UTC)
 
 
:: I also interpreted that it is the generation of a string (that is a repetition of the input string some specified number of times) that is the goal. Printing the string in a loop would ''not'' be a correct solution, except for languages where doing output is effectively the same as producing an intermediate value (a small minority of languages). –[[User:Dkf|Donal Fellows]] 10:30, 29 October 2012 (UTC)
Cookies help us deliver our services. By using our services, you agree to our use of cookies.