Starter Code

week8.py

# Week 8 Code
myName = ""
session = "Sesson 8"
print(session + " " + myName)

main function

def main():
    done = False
    while not done:
        print("Menu")
        print("E1 - Example 1")
        # Display additional menu items
    
        print("Q - Quit")
        choice = input(":: ")
        if choice == "E1":
            print("Example 1")
    
            
        # Add additional elif choices
    
    
        elif choice == "Q":
            print("Quit")
            done = True
        else:
            print("Invalid Choice")

Last updated

Was this helpful?