0
Why I use \n in python to make 2 lines when I can use print many times to make 2 lines too ??
use \n ex: >>>print('1\n2') 1 2 use print many times ex:>>>print('1') print('2') 1 2 as u see.....the same output
3 Answers
+ 11
Because using \n is easier.
+ 2
âUsing \n is most simplest way...âș
âUse could also simply give print() to give a line without needing to print anythingđ€đđ
0
Ok
when I multiply the slash(ex n\\ or n\\\ or n\\\\.....etc) what will happen?