pycharm comment multiple lines 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: pycharm multiline comment

If the PyCharm IDE is used to write Python code – select multiple code rows to comment and press keyshot Ctrl + / to comment all of them.

Example 3: how to comment multiple lines in python ion sublime text

To comment Multiple Lines over Sublime Text for a python Code

For Mac Users:
  Press: 'cmd' + '/'
    
For Windows Users:
   Press: 'ctrl' + '/'

Example 4: pycharm move multiple lines left

shift + tab