摘要: 1 1 mport random 2 print('用列表存储随机整数:') 3 ls=[random.randint(1, 100) for i in range(5)] 4 print(ls) 5 print('\n用集合存储随机整数:') 6 s1={random.randint(1,100) 阅读全文
posted @ 2022-04-24 23:25 爱冒险的小洋 阅读(8) 评论(1) 推荐(0) 编辑