IP属地:北京
def fun(s): d={"数字":0,"字母":0,"其他":0} for i in s: if i.isdigit(): d["数字"]...
爬虫 抓取酷狗音乐排行榜作者和歌名,并写入文件 import requests import re def page(): response=r...
爬虫 抓取猫眼电影排行榜电影名字、作者、上映时间 import requests import re def page(): response=...
九九乘法表 for i in range(1,10): for j in range(1,i+1): print("%s*%s=%s...
快排 b=[4,7,9,2,5,1] for i in range(len(b)): for j in range(len(b)-1): if ...
冒泡排序 a=[4,7,9,2,5,1] for i in range(len(a)): for j in range(len(a)-i-1):...