why print("hello"+"world")produces hello world why not helloworld | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

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

26th Sep 2020, 6:57 AM
Naveen
Naveen - avatar
1 Resposta
+ 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