摘要: 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 阅读全文
posted @ 2022-04-25 11:44 王景如 阅读(24) 评论(3) 推荐(0) 编辑