python wikipedia.summary for places code example
Example: python wikipedia api search
#pip install wikipedia
import wikipedia
question = input("What is your question? ")
print(wikipedia.summary(question))
#pip install wikipedia
import wikipedia
question = input("What is your question? ")
print(wikipedia.summary(question))