0

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

19th Jul 2016, 8:33 AM
Tatyana Grinkevich
Tatyana  Grinkevich - avatar
3 Answers
+ 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