# myFunctions.py # Reuseable Code # Ingredients for our application AKA Kitchen # userInputs def userInputs(): # define a function that handles the user inputs i_firstname = input("Enter your first name: ") # S = F i_lastName = input("Enter your last name: ") i_age = input("Enter your age: ") # RETURN # fullname function def fullName(): fullName = firstName + " " + lastName # RETURN # Header Function def myHeader(): # as functional as possible # DRY Dont Repeat Yourself # Readability "isolate reusable code into a Module" print("--- My Customer Application ---") print("===============================") print() print("--- Main Menu ---") # onHover() # True mainMenu() print("--- Help Menu ---") # onHover() helpMenu() def mainMenu(): print("1 - New Contact") print("2 - Update Contact") print("3 - Delete Contact") print("4 - View Contact") def helpMenu(): print("Phone: (555) 555-1212") print("Email: philipm@onlc.com")