Week 9

Source Code

firstName = "" # add your first name
lastName = "" # add your last name
print("Name: " + firstName + " " + lastName)
print("Week 9")

done = False
while not done:
    print("Menu")
    print("E1 - Example 1")
    print("E2 - Example 2")
    print("E3 - Example 3")
    print("P1 - Problem 1")
    print("P2 - Problem 2")
    print("P3 - Problem 3")
    print("Q - Quit")
    choice = input("Choice: ").upper()
    if choice == "E1":
        print("Example 1")
        # add code here


    elif choice == "E2":
        print("Example 2")
        # add code here
        
        
    elif choice == "E3":
        print("Example 3")
        # add code here
        
        
    elif choice == "E4":
        print("Example 4")
        # add code here
        

    elif choice == "E5":
        print("Example 5")
        # add code here
        
        
    elif choice == "E6":
        print("Example 6")
        # add code here
        
        
    elif choice == "E7":
        print("Example 7")
        # add code here
        
        
    elif choice == "E8":
        print("Example 8")
        # add code here
        
        
    elif choice == "E9":
        print("Example 9")
        # add code here
    
    
    elif choice == "P1":
        print("Problem 1")
        # add code here
        
        
    elif choice == "P2":
        print("Problem 2")
        # add code here
        
        
    elif choice == "P3":
        print("Problem 3")
        # add code here
        
        
    elif choice == "P4":
        print("Problem 4")
        # add code here
        
    elif choice == "P5":
        print("Problem 5")
        # add code here
        
        
    elif choice == "P6":
        print("Problem 6")
        # add code here
        

    elif choice == "Q":
        print("Quit")
        done = True
    else:
        print("Invalid Choice")

Last updated