Use non-breaking python print

By default, print output after the function will be automatically wrap
example:

print('test')
print('test')

Output

test
test

If you do not want the end of the wrap may be increased after the contents of the print output function ,end=""
in which ""after the intermediate print function can be specified outputting content, desirable content continues to be displayed
, for example:

print('test',end="")
print('test')

Output

testtest

Guess you like

Origin blog.csdn.net/u014609263/article/details/90448199