You can try again from this code:
import requests
from bs4 import BeautifulSoup
url="https://store.steampowered.com/hwsurvey#main_stats"
headers = {"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6),AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"}
response = requests.get(url, headers=headers).text
soup = BeautifulSoup(response,"html.parser")
names=soup.find_all("div",{"class":"stats_col_left"})
os=soup.find_all("span",{"id":"osversion_val_1_on"})
#val=soup.find_all("div",{"class":"stats_col_mid"})
list_names=list()
for i in names:
i=i.text
i=i.strip("xa0 ")
list_names.append(i)
list_names = [x for x in list_names if x]
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…