In Python, a backslash ( \ ) is a line continuation character which allows a long string to be written on multiple lines.
Also, multiple string literals written sequentially are concatenated into one string.
This is done by placing a backslash at the end of the line to indicate that the line is continued on the next line.
See more results on Neeva
Summaries from the best pages on the web
In Python, a backslash ( \ ) is a line continuation character. If a backslash is placed at the end of a line, it is considered that the line is continued on the next line.
Also, if multiple string literals are written sequentially, they are concatenated into one string
Write a long string on multiple lines in Python | note.nkmk.me
There are 2 main methods that can be used for line continuation in Python. ... We broke down a long line of strings into two smaller and easy-to-read lines ...
Line Continuation in Python | Delft Stack
How to wrap long lines in Python - A string is a collection of characters that can ... Using Python's inferred line continuation within parentheses, brackets, ...
How to wrap long lines in Python
Rhinoceros 3D: This guide presents an overview of Python syntax. ... To make it more apparent that line 2 is a continuation of line 1, line 2 is also indented ...
Rhino - Python Basic Syntax
The line continuation operator, \ can be used to split long statements over multiple lines. Here is how we could split the above statement using \ instead:
Breaking long lines in Python