0
Why is it that when you print a string that contains breaks or \n, multiply times,only the first copy goes a line down?
3 Respuestas
+ 2
You can use a text editor to verify that the output is correct.
"this string \n will be multiplied by 3"
equals
"this string
will be multiplied by 3"
Copy and paste the string three times and the result will be
"this string
will be multiplied by 3this string
will be multiplied by 3this string
will be multiplied by 3"
The line break is always at the same position (after "this string").
+ 3
And what a fast did you reply im amazed with this app
+ 2
Aaaa yes i wasn't paying attation at that you are right thx because i was focusing on the start of the question. Now it is clear thx a lot. I am just a starter tho.