I know..... one way to omitting new lines in Python with concatenation:
a = 'strin'
b = 2
Yes finally I found the answer.
We can omit newlines in 3:
a = sachin b = 'tendulkar' a += b print(a)
By using "," (comma) see above answers
By using write() function:
import sys write = sys.stdout.write write('20) write('17')
write() method does not add a newline character ('\n') to the end of the string.