#pip install wikipedia import wikipedia question = input("What is your question? ") print(wikipedia.summary(question))