user defined function

Solutions on MaxInterview for user defined function by the best coders in the world

showing results for - "user defined function"
Amber
02 Feb 2016
1def greet(*names):
2    """This function greets all
3    the person in the names tuple."""
4
5    # names is a tuple with arguments
6    for name in names:
7        print("Hello", name)
8
9
10greet("Monica", "Luke", "Steve", "John")
similar questions
queries leading to this page
user defined function