python随机生成10个1-100的整数求最小值最大值和平均值

求求各位大佬了,文科生实在不会啊!!想不明白为什么学新闻的要考python

import random

l = [random.randint(1, 100) for _ in range(10)]
print("十个数是:", l)
print(f"最大值:{max(l)}")
print(f"最小值:{min(l)}")
print(f"平均值:{sum(l)/10}")
'''--result
十个数是: [65, 27, 64, 52, 61, 2, 56, 24, 51, 93]
最大值:93
最小值:2
平均值:49.5
'''