"
The function print () has such key parameters:
-
sep = & ndash; when a few values are removed, which character or line is separated by the
(standard - pro -trumpet. i.e., line '' ),
-
end = & ndash; '\ n' ),
-
file = & ndash in which file to display the values of the
(standard - on the screen, i.e. sys.stdout ),
-
flush = & ndash; immediately display the stream; false ).
In your case, after the output of the value , to stay in the same line , then you do not want the standard ending to the new line ( end = '\ n' oseodee>), but to finish something else with something else. (with a gap, a comma, and so on), too,
because end the output empty line '' '):
Print ( 'a' , end = '' ) print ( 'b ", end = '' ) print ( 'c' )