摘要:
1 import random 2 3 print('用列表存储随机整数:') 4 ls = [random.randint(1,100) for i in range(5)] 5 print(ls) 6 7 print('\n用集合存储随机整数:') 8 s1 = {random.randint( 阅读全文
posted @ 2022-04-24 23:14
单纬哲
阅读(46)
评论(2)
推荐(0)
浙公网安备 33010602011771号