+ 1
What is the benefit of "+" sign when I can add two strings without it?
Example: print("You" ", " "Me") is similar to print("You"+", "+"Me")
3 Answers
+ 4
Because of this:
>>> a='v'
>>> print('aa' a)
SyntaxError: invalid syntax
>>> print('aa'+a)
aav
If your text is in a variable, you need the '+'
+ 1
But I don't even mention any variable in my question #Cosme
+ 1
comma uses a space by default. Change it with the sep = 'choose any char'. Convenience. I think formatting is used more than either of these ways.