一局比赛最低要求比赛双方都要达到15分,如果双方都达到15分,并且分差大于2分,可以认为一句比赛结束 一次比赛三局两胜定胜负 上代码: from random import random def printInfo(): print('This program simulates a game between two') print('There are two players, A and B') print('Probability(a number between 0 and 1)is used') def getInputs(): a = eval(i