Skip to content

Instantly share code, notes, and snippets.

@KaushikShresth07
Created June 12, 2021 13:35
Show Gist options
  • Save KaushikShresth07/80bd3efafd4844dfccb51dcd9de5b9fc to your computer and use it in GitHub Desktop.
Save KaushikShresth07/80bd3efafd4844dfccb51dcd9de5b9fc to your computer and use it in GitHub Desktop.
import wolframalpha
def AskAnything(Problem,Api_Key):
app_id = set(Api_Key)
client = wolframalpha.Client(app_id)
res = client.query(Problem)
answer = next(res.results).text
return answer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment