0
how do I use "\n" in a for loop??
8 Réponses
+ 2
Either inside a string:
"blabla blablabla\n";
or concatenate it:
"blabla" + variable + "\n";
+ 1
pretty sure it's \
0
use \\n
0
thanks
0
Do you mean to create a new line after each loop iteration or actually print "\n" in a string?
0
for a new line after each iteration
0
thank u Liam the concatenation worked
- 3
Is “/n” not “\n”