Computer Science, asked by prachi88138, 5 months ago

How can you create multi line strings in python
please answer it....
«•» Don't give irrelevant answer​

Answers

Answered by tripathigaurav556
9

Answer:

You can have a string split across multiple lines by enclosing it in triple quotes. Alternatively, brackets can also be used to spread a string into different lines. 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.

Explanation:

ye chalega

Similar questions