Currently when I use display()
function in the IPython notebook I get newlines inserted between objects:
>>> display('first line', 'second line')
first line
second line
But I would like the print()
function's behaviour where everything is kept on the same line, e.g.:
>>> print("all on", "one line")
all on one line
Is there a method of changing display
behaviour to do this?