코드 from bs4 import BeautifulSoup import urllib.request as req url = "https://finance.naver.com/marketindex/" res = req.urlopen(url) soup = BeautifulS…