how to comment whole code in python code example
Example 1: python comment multiple lines
'''
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: multiline comment python
Example 3: comment out a block in python
select the lines you want to comment
and 'use Ctrl + / to comment all of the selected text'.
To uncomment do the same thing.
OR
put a '#' before each line
eg :