Starter Code
week9.py
def main():
firstName = ""
session = "Session 9"
print(session + " " + firstName)
done = False
while not done:
print("Menu")
print("E1 - Example 1")
print("E2 - Example 2")
# Display additional menu items
print("Q - Quit")
choice = input(":: ")
if choice == "E1":
print("Example 1")
elif choice == "E2":
print("Example 2")
# Add additional elif choices
elif choice == "Q":
print("Quit")
done = True
else:
print("Invalid Choice")
# Define Example 1 Function
# Define Example 2 Function
main()
Last updated
Was this helpful?