📒
Computer Science Basics
  • Welcome!
  • Week 5
    • Starter Code
  • Week 6
    • Starter Code
  • Week 7
    • Starter Code
  • Week 8
    • Starter Code
  • Week 9
    • Starter Code
  • Week 10
    • Starter Code
  • Week 11
    • Starter Code
Powered by GitBook
On this page

Was this helpful?

  1. Week 7

Starter Code

week7.py

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

# Define Lists


# Define Dictionaries


# Menu Code
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")
PreviousStarter CodeNextStarter Code

Last updated 2 years ago

Was this helpful?