shortcut to comment multiple lines in python code example
Example 1: python comment multiple lines
#There is no way to comment multiple lines in Python.
#You just keep using "#" symbol to comment each line out.
'''
Technically you could also use triple single quotation
marks like so, but this formatting does not count
as "true" source code comments that are removed by
a Python parser.
'''
Example 2: spyder - comment banch of codee
# Single line comment
Ctrl + 1
# Multi-line comment select the lines to be commented
Ctrl + 4
# Unblock Multi-line comment
Ctrl + 5