+ 2
How to concatenate and print strings with space between them without using '+'
5 odpowiedzi
+ 3
I wasn't asking; only commenting... 😆
+ 2
You can do this using the function 'print' with the strings as parameters, like: >>> print('hello', 'world', '!') will output 'hello world !'
+ 1
why do you answer your own question?😂😂
+ 1
You answer your question .
So funny
0
Just separate the variables or literals with semicolon.
name = Rodrigo
print "Hello", name
Output - Hello Rodrigo
NB - Python 2 specific