def NextGame():
    while True:
        choice = input('Do you want to play again? [S]/[N] ').upper().replace(' ', '')
        if (((choice in '[S]') or (choice in '[N]')) and (choice not in '[]')):
            break
        else:
            print("I didn't understand your choice.", end=' ')
    return choice
def NextGame():
    while True:
        choice = input('Do you want to play again? [S]/[N] ').upper().replace(' ', )
        if (((choice in '[S]') or (choice in '[N]')) and (choice not in '[]')):
            break
        else:
            print("I didn't understand your choice.", end=' ')
    return choice