Answers for "python block comments"

0

python comments

# Numpy-style python comments for functions
def foo(param_1=True):
  """Example function.

    Parameters
    ----------
    param_1 : bool, optional
        The first parameter (default is True)

    Returns
    -------
    num
        a number
    """
  return -1
Posted by: Guest on April-30-2021
9

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 : #This is a comment
Posted by: Guest on May-05-2020
2

big comments python

# One line Comment
myvar = 5 # Can also start after any chunk of code

"""
Big multiple lines comment
So many lines
WoW
"""
Posted by: Guest on September-16-2020
3

python comments

# this is a python comment
Posted by: Guest on September-22-2020
1

python comments

#This is a comment
Posted by: Guest on March-07-2020

Python Answers by Framework

Browse Popular Code Answers by Language