摘要: #task1.py import random print('用列表存储随机整数: ') ls = [random.randint(1, 100) for i in range(5)] print(ls) print('\n用集合存储随机整数: ') s1 = {random.randint(1,1 阅读全文
posted @ 2022-04-25 23:50 思杰 阅读(28) 评论(4) 推荐(0) 编辑