guest_list = ['Alice', 'Bob', 'Charlie']
# define function here...
def invite
invite('Erik')
print(guest_list) # expected: ['Alice', 'Bob', 'Charlie', 'Erik']
invite('Samantha')
print(guest_list) # expected: ['Alice', 'Bob', 'Charlie', 'Erik', 'Samantha']
Python
Setting up Python environment...
Output