...the set of known facts.
known_facts.add(rule.conclusion)
# Check if a diagnosis can be made.
if "cold" in known_facts:
return "cold"
else:
return "no diagnosis"
```
### Hashtags
* #artificialintelligence
* #expertsystems
* #PythonProgramming
* #SourceCode
* #forwardchaining