摘要:
from tqdm import trange pi = 0 for i in trange(1000000000): if i%2 == 0: pi += 1/(2*i+1) else: pi -= 1/(2*i+1) pi = pi*4 print(pi) 阅读全文
posted @ 2020-12-14 19:17
gvet5y767
阅读(43)
评论(0)
推荐(0)
摘要:
首先搜狗主页的爬取 from pip._vendor import requests print('访问谷歌网站 获取Response对象') r = requests.get("http://www.sougou.cn") x = 1 while x <= 20: print('第' + str( 阅读全文
posted @ 2020-12-14 19:16
gvet5y767
阅读(83)
评论(0)
推荐(0)

浙公网安备 33010602011771号