Using comments

Report a typo

You've written the following code:

# comment 1

# comment 2
def add(a, b):
    # comment 3
    """ A function to add two numbers """
    # comment 4
    return a + b

Which of these comments would you see in the documentation?

Select one or more options from the list
___

Create a free account to access the full topic