Answers for "user defined function"

0

user defined function

def greet(*names):
    """This function greets all
    the person in the names tuple."""

    # names is a tuple with arguments
    for name in names:
        print("Hello", name)


greet("Monica", "Luke", "Steve", "John")
Posted by: Guest on May-11-2021

Code answers related to "user defined function"

Python Answers by Framework

Browse Popular Code Answers by Language