‘’’
数字重复统计:
- 随机生成100个数字
- 数字的范围是[20,100]
- 升序输出所有不同的数字及其每个数字重复的次数
‘’’
import random
numbers = []
dict1 = {
}
for i in range(100):
ran = random.randint(20,
‘’’
数字重复统计:
import random
numbers = []
dict1 = {
}
for i in range(100):
ran = random.randint(20,