How to make a request to Google?

write bot VC, you need to make a search function in Yandex for the last post.
for example, the user types "weather in Moscow" and that the bot has executed the request in Yandex or Google and brought up the data.
queries to do with using requests and bs4, but you need to make a request entered by the user
April 19th 20 at 12:09
2 answers
April 19th 20 at 12:11
April 19th 20 at 12:13

Find more questions by tags Python