for i in range(2,10): print('http://news.gzcc.cn/html/xiaoyuanxinwen/'+str(i)+'.html') 转载于:https://www.cnblogs.com/SJMHJ/p/9639283.html