# page 38 basic functions # Pages Home, Contacts, Products, Orders # custom functions def myFooter(emailAdd="philipm@onlc.com"): # define print("--- Footer ------") #emailAddress = emailAdd # myFooter("philipm@onlc.com") passing value when called print("Email Address:", emailAdd) print("Web Site: https://philipmatusiak.com") def myHeader(): print("My Application Title") print("--------------------") print("------ Menu --------") print("1. Contacts") print("2. Products") print("3. Orders") # full name function def myFullName(fName, lName): # 2 params # property left = parameter right firstName = fName lastName = lName fullName = firstName + " " + lastName print(fullName) def userInputs(): first_Name = input("Enter your first name: ") last_Name = input("Enter your last name: ") return first_Name, last_Name # returned thru the function call # Application myHeader() print("----- Contact Info -----") print("Chapter 2 stuff here") first, last = userInputs() # pythonic myFullName(first, last) myFooter()