)
x = tableOdds1(0.5,3)
print(x)

def tableOdds1(odds,players):
odds1 = 1 – ((1 -odds)**players)
return odds1