Answered You can hire a professional tutor to get the answer.

QUESTION

What am I doing wrong?This is the assignment below:Team

Week3 ) Week 4.pyWeek 4Q1: ProjectWeek 4.pyprint ( 'Welcome to the Team Manager' )selection = Noneroster = Nonewhile selection != '9' :print( '==Main Menu=print('1. Display Team Roster' )print( '2. Add Member' )print( '3. Remove Member' )print('4. Edit Member' )print( '9. Exit Program' )selection = input ("Selection> ")12if selection == '1':for x in roster:print (x)15elif selection == '2':16name = input("Alex Shaw: ")17if roster is None:18roster = [Alex Shaw]]19list ( roster)20else:21roster . append (name)22elif selction == '3':23name = input("David Blane")24roster . remove (David Blane)25elif selection '4':2627oldname = input( 'Alex Shaw:newname = input( 'Alex Finch:28roster = [x. replace (Alex Shaw, Alex Finch) for x in roster]while selection != '9' > elif selection == '2' > if roster is NoneRun:Week 4T/Users/samanthaboutte/PycharmProjects/Week3/venv/bin/python "/Users/samanthaboutte/PycharmProjects/Week3/Week 4.py"File "/Users/samanthaboutte/PycharmProjects/Week3/Week 4. py", line 18roster = [Alex Shaw]7: StructureSyntaxError: invalid syntaxProcess finished with exit code 1*2: FavoritesIDE and Plugin UpdatesPyCharm is ready to update.4: Run 6: TODO . TerminalPython Console1 Event Log[ IDE and Plugin Updates: PyCharm is ready to update. (yesterday 2:58 PM)18:33 LF UTF-8 4 spaces Python 3.8 (Week3)

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question