Recursive Function Game

To return "You Win!", which value should you choose for entry?

1
2
3
4
5
6
7
def playGame(entry):
    if entry == 0:
        return "You Lose!"
    elif entry == 1:
        return "You Win!"
    else:
        return playGame(entry - 4)
×

Problem Loading...

Note Loading...

Set Loading...