摘要: import random print('用列表存储随机整数: ') ls=[random.randint(1,100) for i in range(5)] print(ls) print('\n用集合存储随机整数: ') s1={random.randint(1,100) for i in ra 阅读全文
posted @ 2022-04-23 16:57 李禹灼 阅读(13) 评论(3) 推荐(0) 编辑