Define a function that takes an argument. Call the function. Identify what code is the argument and what code is the parameter.
Here the answer:
def greeting(name):Â # 'name' is a paramenter
   print('parameter "name" equal', name)
   print('Hello,', name, '!')
greeting('Stan')Â # call function 'greeting' with argument 'name'='Stan'
Comments
Very good
Leave a comment