摘要:
import requests from bs4 import BeautifulSoup a=requests.get('http://news.gzcc.cn/html/xiaoyuanxinwen/') a.encoding='utf-8' soup=BeautifulSoup(a.text,'html.parser') for xinwen in soup.select('li'):... 阅读全文
摘要:
from turtle import* color("red") fillcolor("red") begin_fill() while True: forward(200) right(144) if abs(pos())<1: break end_fill() import turtle for i in range(3): turtle... 阅读全文