Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
bizNames = {
  "downhome restaurant & catering",
  "forbidden garden chinese restaurant",
  "forbidden garden chinese restaurant corp.",
  "calvin's restaurant & lounge",
  "python"
}
blacklist = {'restaurant', 'stuff'}
cleanBizNames = set()

for name in bizNames:
  if not blacklist & set(name.split()):
    cleanBizNames.add(name)

for name in cleanBizNames:
  print(name)