def Query(msg,cat): print("alerting " + str(msg) + " in category " + cat) Query("Testnachricht","Testkategorie")