> a) How's the best way to make it so I can have a user type in a list of > symptoms and then have the computer tell the user the possible diseases that > share those symptoms?
Good question. The first decent idea that came to mind was searching through a cartesian join of all diseases & symptoms: { (disease1, symptom1), (disease1, symptom2), (disease2, symptom1), (disease2, symptom2) } Searching for (flu, runny_nose) would not find anything (given the sample data in your original message) so you could rule out flu. Alan _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor