Some states of the USA share their names with rivers. We have defined two variables with respective place names.
Print out a new set with river names that don't overlap with given states.
You can easily subtract the sets.
Some states of the USA share their names with rivers. We have defined two variables with respective place names.
Print out a new set with river names that don't overlap with given states.
Sample Input 1:
Alabama Missouri Mississippi
Georgia Alaska MissouriSample Output 1:
{'Alabama', 'Mississippi'}Create a free account to access the full topic