[Python] 练习代码
# from random import randrange# num = int(input('摇几次骰子: '))# sides=int(input('筛子有几个面: '))# sum=0# for i in range(num):# sum+= randrange(sides)+1# print('最终的点数和是 ',sum,'平均点数是:',sum/nu...