0
help me
i cant do this help me
5 Answers
+ 3
Please explain your questn
+ 2
What is your problem.
0
You can't use strings?
You are giving up studying python?
I don't know, where you need help.
0
what is phython backslash......??????
0
Backslash:
You have to use backslash in strings only if you want to use quotes, double quotes or other backslashes in strings.
For example:
To use \ use \\
To use " use \"
To use ' use \'
Newlines:
Also you want to create a newline in a string, you have to use \n.
Docstring:
You can create a docstring with 3Ă amount of single or double quotes, when you use docstrings, you don't have to use \n to make new lines, just use enter, also you don't have to escape most of the double quotes, single quotes or backslashes in a docstrings.
Exceptions:
You don't have to escape single quotes in double quote strings or double quotes in single quote string.
About useless knowledge about exceptions of docstrings:
On docstrings you have only to use backslashes, when there is / or the quote docstring used right next to docstring's second triple quotes.



