When I run this code I got from here, nothing happens:
import requests
import bs4
res = requests.get('https://en.wikipedia.org/wiki/Machine_learning')
soup = bs4.BeautifulSoup(res.text, 'lxml')
foo = soup.select('.mw-headline')
for i in soup.select('.mw-header'):
print(i.text)
Everything were installed (lxml, requests, bs4)
I cannot continue his tutorial If I'm stuck here.
