Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python docstring

def function(a: int, b: str, c = True) -> bool:
    """_summary_

    Args:
        a (int): _description_
        b (str): _description_
        c (bool, optional): _description_. Defaults to True.

    Returns:
        bool: _description_
    """    
    
    if a == c:
        return True
    else:
        return False
 
PREVIOUS NEXT
Tagged: #python #docstring
ADD COMMENT
Topic
Name
9+5 =