Help with \n | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Help with \n

for some reason, \n won't work... It INCLUDES the \n with my output.

12th Dec 2016, 7:46 PM
Nerdy
4 Réponses
+ 3
use this print('hello world', end='') if you want to end with something different, just replace end='' with end='some other string' \n is simply the default end char for print edit: just noticed you posted "fixed it" oops
12th Dec 2016, 8:28 PM
Burey
Burey - avatar
0
Show the code part, where newline isn't working
12th Dec 2016, 7:52 PM
Rishi Anand
Rishi Anand - avatar
0
I fixed it... sorry :(
12th Dec 2016, 7:52 PM
Nerdy
0
okay
12th Dec 2016, 8:02 PM
Rishi Anand
Rishi Anand - avatar