I getting an error for my below code:
import wolframalpha
ask = input("Question:- ")
app_id = "E82747-Y2LGY6EKH3"
client = wolframalpha.Client(app_id)
res = client.query(ask)
answer = next(res.results).text
print (answer)
Error I am getting:
**Traceback (most recent call last): File "test.py", line 8, in <module>
answer = next(res.results).text StopIteration
**
What am I doing Wrong?