Good evening.

As you know, print in the python language begins to print on the next line. How do I type in the same line?

Thank.

    2 answers 2

    print 'hello ', print 'world' 
       from __future__ import print_function print('text', end='') 

      Documentation