Program - example to demonstrate usage of docstring


Topic: Program - example to demonstrate usage of docstring

Solution

def greet(name):
    """
    This function greets to
    the person passed in as
    a parameter
    """
    print("Hello, " + name + ". Good morning!")



List all Python Programs