Share your repls and programming experiences

← Back to all posts
Medical Chatbot
mihirraov (16)

(There are only two conditions so far, asthma and influenza)

To use it, you enter symptoms (keywords) and it iterates through the symptoms and outputs the most likely medical condition.

RussianSanta (4)

An idea would be to add mental illnesses, like schizophrenia, or anxiety/depression. I added a few on my own forked one, just to test how it'd work.

Also, if you could add multiple conditions, then it would ask for another symptom, and make it as specific as possible.

themaka (176)

Hi mihirraov,

Good start. Try creating a response for when someone gives you a keyword that isn't in your list of symptoms. It could be as simple as "symptom not found".

You could also print out your symptoms with a "Please choose from this list."


Steven_The_GuyT (197)

It doesn't work for me. It says

File "", line 47
print('Most likely: '+ max(count))
IndentationError: unindent does not match any outer indentation level

I wonder why this happens