Escape Characters are used to include special characters in strings.
Examples:
\n : new line
\t : tab
\" or \' or \\ : insert " or ' or \
Comment lines/multiple lines
- Use #comment for actual comments.
# This is a comment
# This is another commented line
# This is yet another comment
Use ''' comment ''' or """ comment """ for multiline.
'''
This is a multiline
that can act as a comment
'''
Windows/Linux: Select multiple lines and Press Ctrl + /
Mac: Select multiple lines and Press Cmd + /
No comments:
Post a Comment