python抢红包 以及 手气最佳问题*

爱做梦的大懒猫 20 0 PDF 2020-12-31 00:12:14

抢红包 以及 手气最佳问题 抢红包问题 # 输入总金额以及红包数,随机分配红包里的金额 from random import uniform money = float(input('please enter the total money: ')) people = int(input('please enter the number of people: ')) def red_packet(money,people,types='r'): result = [] if types=='u': temp = money/people real

用户评论
请输入评论内容
评分:
暂无评论