0

Why \n doesn't work? And /n too?

19th Jul 2016, 8:33 AM
Tatyana Grinkevich
Tatyana  Grinkevich - avatar
3 Réponses
+ 1
пробуй: print('chto ugodno \ncto hochesh') Можно без принта. Главное \nПисать слитно
19th Jul 2016, 6:39 PM
Роман Гусев
Роман Гусев - avatar
0
Maybe () "" forgot? Now space between words Hope\ncanhelp
19th Jul 2016, 8:43 AM
Andreas Kilian
Andreas Kilian - avatar
0
Yeah you have to put \n inside the string for the newline to appear. e.g. s = "Hey there!\nWhat's Your name?" /n is not a special character btw.
19th Jul 2016, 12:19 PM
Gershon Fosu
Gershon Fosu - avatar