33-7

Run Settings
LanguagePython
Language Version
Run Command
myPartyList = [] def printList(): print() for item in myPartyList: print(item) print() while True: menu = input("add or remove?: ") if menu == "add": item = input("Who should I add to the party list?: ") myPartyList.append(item) elif menu == "remove": item = input("Who should I remove from the party list?: ") if item in myPartyList: myPartyList.remove(item) else: print(f"{item} was not in the list") printList()
Editor Settings
Theme
Key bindings
Full width
Lines