Python Wikipedia API поиск
#pip install wikipedia
import wikipedia
question = input("What is your question? ")
print(wikipedia.summary(question))
Motionless Macaque
#pip install wikipedia
import wikipedia
question = input("What is your question? ")
print(wikipedia.summary(question))