<reponame>iwanlevin/Individualproject_COSC310<filename>chatbot/wolfram.py<gh_stars>0
import wolframalpha as wa

def define(query):
    question = "Question: " + query
    app_id = "E3P3GA-3LGTR8XRKR"
    client = wa.Client(app_id)
    res = client.query(question)
    answer = next(res.results).text
    print(answer)
    return answer
import wolframalpha as wa

def define(query):
    question = "Question: " + query
    app_id = "E3P3GA-3LGTR8XRKR"
    client = wa.Client(app_id)
    res = client.query(question)
    answer = next(res.results).text
    print(answer)
    return answer