I'm trying to make a function that removes items from all_cards based on whats in the iss_answer array. My iss_answer array will change often in my program so I can't just type all_cards.remove('Professor Plum','Dinning Room','Rope').
iss_answer = ['Professor Plum','Dinning Room','Rope']
def computer_1(array):
all_cards = ['professor plum','colonel mustard',
'mrs. white','mr. green','miss scarlet',
'mrs. peacock', 'revolver','wrench',
'candle stick','lead pipe','knife','rope',
'kitchen','hall','dinning room','lounge',
'study','billiard room',
'conservatory','library','ballroom']
all_cards.remove(iss_answer)
print all_cards
return all_cards
computer_1(iss_answer)