"At least one" is far easier through the complement: the only way to get none is for every event to fail.
Return that probability.
solve([0.5, 0.5]) -> 0.75
solve([0.1, 0.1, 0.1]) -> 0.2710000000000001
Sign in to write and run your own code.
solve(...)