Activity 1.21
Source Code
firstName = "" # add your first name
lastName = "" # add your last name
print("Name: " + firstName + " " + lastName)
print("Activity 1.21")
done = False
while not done:
print("Menu")
print("E1 - Example 1")
print("E2 - Example 2")
print("E3 - Example 3")
print("P1 - Problem 1")
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 2")
# add code here
elif choice == "P1":
print("Problem 1")
# add code here
elif choice == "Q":
print("Quit")
done = True
else:
print("Invalid Choice")
Last updated