What is the difference of “”” and \ character in creating multiline
strings in python?
Answers
Answered by
2
In Python, you have different ways to specify a multiline string. You can have a string split across multiple lines by enclosing it in triple quotes. ... Moreover, backslash works as a line continuation character in Python. You can use it to join text on separate lines and create a multiline string.
Answered by
1
click here ☝️☝️
Hope you like it
Attachments:
Similar questions