在使用函数时保持获得相同的随机值我想做一个程序,可以做一些战斗日志。你以50%的几率打击敌人,造成10到25点的伤害。你知道吗 from random import randint hitChance = randint(0,1) ...2024-06-16 已阅读: n次