break line in string python code example
Example 1: break a line python
a = '1' + '2' + '3' + \
'4' + '5'
Example 2: break line in string python
myString = '1X2X3X'
print (myString.replace ('X', 'X\n'))
a = '1' + '2' + '3' + \
'4' + '5'
myString = '1X2X3X'
print (myString.replace ('X', 'X\n'))