Python
文章平均质量分 83
云舒轻寒
ㅍ_ㅍ
展开
-
爬虫 - 抓取52论坛帖子列表
批量爬取52论坛的帖子标题和链接,形成表格。包括首页的几个主要板块:人气热门、新鲜出炉、技术分享、精华采撷。原创 2022-07-26 11:21:45 · 887 阅读 · 1 评论 -
Runoob Python100例 个人解答
# https://www.runoob.com/python/python-100-examples.html# 练习1:有四个数字:1、2、3、4,能组成多少个互不相同且无重复数字的三位数?各是多少?————————————————————————————————————————————————1print([x*100+y*10+z for x in range(1,5) for y in range(1,5) for z in range(1,5) if(x!=y)and(x!=z)and(y原创 2020-12-29 11:01:36 · 951 阅读 · 0 评论