Various types of expression in the python \ symbols are regarded as the escape character, such as \ n represents a newline \ t Tab Representative empty, found \ a equivalent nothing is diverted to the end of the \ means that the line not finished, then the contents of the lower row.
Escape Escape command table exists in the escape command acts
Escape character to escape escape command table there is no command not play a role
The subsequent escape symbol is not the symbol itself into effect the program,
Most end of the string or expression is \, it must represent the newline continue to write (even r can not change), must want to have a blank line below the program can not run
r make internal string (string except the last case is \ a) all of the escape character \ are unavailable.
If you want to end the string with \ symbol, only use this method +
Various types of expression in the python \ symbols are regarded as the escape character, such as \ n represents a newline \ t Tab Representative empty, found \ a equivalent nothing is diverted to the end of the \ means that the line not finished, then the contents of the lower row.
In the string, the following was found:
Input:
Output:
Escape Escape command table exists in the escape command acts
Input:
Output:
Escape character to escape escape command table there is no command not play a role
Input:
Output:
The subsequent escape symbol is not the symbol itself into effect the program,
For example this
Program can not run
Input:
Output:
Input:
Output:
Most end of the string or expression is \, it must represent the newline continue to write (even r can not change), must want to have a blank line below the program can not run
Input:
Output:
Input:
Output:
Input:
Output:
Input:
Output:
r make internal string (string except the last case is \ a) all of the escape character \ are unavailable.
Input:
Output:
If you want to end the string with \ symbol, only use this method +