摘要: task1 import random print('用列表存储随机整数: ') ls = [random.randint(1, 100) for i in range(5)] print(ls) print('\n用集合存储随机整数: ') s1 = {random.randint(1,100) 阅读全文
posted @ 2022-04-26 21:05 一壶花茶 阅读(12) 评论(1) 推荐(0) 编辑