# mymodules.py # This python file will contain all out reusable code # Header Function def myheader(): # Defining a function # indented ALL operations indented # Header with a welcome message # Highlight and use the tab or shift tab to move blocks of code # Line "Welcome to your Account" print() print("Welcome to your Account") # Line "=================" "=" * 12 print() print("=======================") # Blank Line print() print() # Line "Menu Options" print() # 1. Add New Contact 2. Add New Product print("Main Menu") print("=========") menuoptions = ["Add New Contact", "Add New Product", "View Contacts"] optionID = 1 for menuoption in menuoptions: print("Option ID: " + str(optionID) + " > " + menuoption) optionID += 1 print("=========\n") # Footer Function def myfooter(): # Footer with a message # Line "=" * 20 print() print("=======================") # Line "Philips Application Copyright 2024" print("Philip's Application Copyright 2024")