Python Program to Create a Long Multiline String Using \ (Backslash)
# Create a Long Multiline String Using \ in python my_string = "The only way to \n" \ "learn to program is \n" \ "by writing code." print(my_string)
Output:
The only way to
learn to program is
by writing code.