A new line
How do I add a newline to a string ??
print (str1 + newLine + str2)
newLine = ???
How do I add a newline to a string ??
print (str1 + newLine + str2)
newLine = ???
The newline character is \n
.
print("first line\nsecond line\nthird line")
Or
newLine = '\n'
print(str1 + newLine + str2)