When I call the vote()
function, the compiler doesn't print an output. Why isn't the function printing anything to the console when I call it?
Here is my code:
def vote(vote_one, vote_two, vote_three):
if (vote_one == vote_two):
return True
elif (vote_one == vote_three):
return True
elif (vote_two == vote_three):
return True
else:
return False
vote(1, 2, 1)