Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python Function Arguments

def greet(name, msg):
    """This function greets to
    the person with the provided message"""
    print("Hello", name + ', ' + msg)

greet("Monica", "Good morning!")
Source by www.py4e.com #
 
PREVIOUS NEXT
Tagged: #Python #Function #Arguments
ADD COMMENT
Topic
Name
4+2 =