>>> print "The answer is", 2*2 The answer is 4.
>>> print "The answer is", 2*2
The answer is 4.
>>> print("The answer is", 2*2) The answer is 4. >>> print("The answer is", 2*2, sep="") The answer is4.
>>> print("The answer is", 2*2)
>>> print("The answer is", 2*2, sep="")
The answer is4.
>>> s1 = "I am a unicode string" >>> s2 = b"I am a byte string" >>> s1 + s2 # Not allowed in Python 3 TypeError: Can't convert 'bytes' object to str implicitly
>>> s1 = "I am a unicode string" >>> s2 = b"I am a byte string" >>> s1 + s2 # Not allowed in Python 3
TypeError: Can't convert 'bytes' object to str implicitly