Computer Science, asked by sarjeya18, 1 month ago

What is the difference of “”” and \ character in creating multiline
strings in python?

Answers

Answered by JaiSriRam1234
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 dmans2111
1

click here ☝️☝️

Hope you like it

Attachments:
Similar questions