diff --git a/HackerRank-Counter game/Counter_game.py b/HackerRank-Counter game/Counter_game.py index b0f28fe..0505e64 100644 --- a/HackerRank-Counter game/Counter_game.py +++ b/HackerRank-Counter game/Counter_game.py @@ -11,7 +11,7 @@ def counterGame(n): n = bin(n)[2:] n = n.split('1') turns = len(n)+len(n[-1])-2 - return 'Louise' if turns&1 else 'Richard' + return ('Louise' if turns&1 else 'Richard') if __name__ == '__main__': fptr = open(os.environ['OUTPUT_PATH'], 'w')