Share your repls and programming experiences

← Back to all posts
Medical Chatbot
mihirraov

(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.

Voters
OwO5
KaleTheiss
Itz_Dordor
THEslothicorn
ElliotEsposito
ArtemPionov
The_Real_Vergil
georgeDUK
haadik12
SebastianCooke
Comments
hotnewtop
RussianSanta

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

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."

Maka

Steven_The_GuyT

It doesn't work for me. It says


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


I wonder why this happens