What Am I Doing Wrong?This Is The Assignment Below Team

Week3 ) Week 4.py
Week 4
Q
1: Project
Week 4.py
print ( ‘Welcome to the Team Manager’ )
selection = None
roster = None
while 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 (quot;Selectiongt; quot;)
12
if selection == ‘1’:
for x in roster:
print (x)
15
elif selection == ‘2’:
16
name = input(quot;Alex Shaw: quot;)
17
if roster is None:
18
roster = [Alex Shaw]]
19
list ( roster)
20
else:
21
roster . append (name)
22
elif selction == ‘3’:
23
name = input(quot;David Blanequot;)
24
roster . remove (David Blane)
25
elif selection ‘4’:
26
27
oldname = input( ‘Alex Shaw:
newname = input( ‘Alex Finch:
28
roster = [x. replace (Alex Shaw, Alex Finch) for x in roster]
while selection != ‘9’ gt; elif selection == ‘2’ gt; if roster is None
Run:
Week 4
T
/Users/samanthaboutte/PycharmProjects/Week3/venv/bin/python quot;/Users/samanthaboutte/PycharmProjects/Week3/Week 4.pyquot;
File quot;/Users/samanthaboutte/PycharmProjects/Week3/Week 4. pyquot;, line 18
roster = [Alex Shaw]
7: Structure
SyntaxError: invalid syntax
Process finished with exit code 1
*2: Favorites
IDE and Plugin Updates
PyCharm is ready to update.
4: Run 6: TODO . Terminal
Python Console
1 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)Python Programming