I'm new in programming. I'm currently programming on a knowledge base (just for me). I had a problem with the core, which then looks at what you have written and returns the labels. He always says "Tkinter, command" no matter what you tell him. Here is the code:
#Core#
def search(text):
text=str(text)
if "tkinter" or "Tkinter" in text:
if "command" or "Command" or "Command-Befehl" or "command-Befehl" or "command-befehl" or "Command Befehl" or "command Befehl" or "Command befehl" or "command befehl" in text:
search="Tkinter, command"
return search
if "lambda" or "Lambda" in text:
return "Tkinter, lambda"
if "bug" or "Bug" in text:
return "bug"
if "test" in text:
return "test"
print(search("bug"))
(It's an module)
I tried all possible values but it always returned the same thing. I've also looked on various websites but haven't found anything.