Imagine you have two lists of names: people from the first list play the violin, while people from the second one happen to speak German.
Print a set with names of those who can do both.
Imagine you have two lists of names: people from the first list play the violin, while people from the second one happen to speak German.
Print a set with names of those who can do both.
Sample Input 1:
Vanessa-Mae, David Garrett
Rosamond Mayhan, Malik Kopf, David Garrett, Cortez Mestas, Barbara Miller, Elease KnudsonSample Output 1:
{'David Garrett'}Create a free account to access the full topic