here is my error:
assert resp.headers.gettype() == 'text/xml' AttributeError: 'HTTPMessage' object has no attribute 'gettype'
and that is my code:
import wolframalpha
client = wolframalpha.Client('LXP5A5-L92R7KJWTK')
while True:
query = str(input('Query: '))
res = client.query(query)
output = next(res.results).text
print(output)
please help me