why print("hello"+"world")produces hello world why not helloworld | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

why print("hello"+"world")produces hello world why not helloworld

26th Sep 2020, 6:57 AM
Naveen
Naveen - avatar
1 Réponse
+ 2
It would also print "hello world" if there is a ',' rather than a '+' separating them. print("hello", "world") # hello world
26th Sep 2020, 8:23 AM
Russ
Russ - avatar