Python 3.X Rock Paper Scissors Lizard Spock issue
<p>Hello i am new to coding but i have been stuck on a code for very long and can't seem to find the answer here on stackoverflow. </p>

<p>Whatever i do the answer ends up with the first print of Player 1 wins: Player One wins, Rock beats Scissors.</p>

<pre><code>player1 = input("Player One do you want Rock, Paper, Scissors, Lizard or Spock?")
player2 = input("Player Two do you want Rock, Paper, Scissors, Lizard or Spock?")
print(player1)
print(player2)

rock = 1
paper = 2
scissors = 3
lizard = 4
spock = 5

#Tie

if (player1 == player2):
print("It's a tie.")

#Player 1 wins

elif (player1 == 1, player2 == 3):
    print("Player One wins, Rock beats Scissors.")
elif (player1 == 1, player2 == 4):
    print("Player One wins, Rock beats Lizard.")
elif (player1 == 2, player2 == 1):
    print("Player One wins, Paper beats Rock.")
elif (player1 == 2, player2 == 5):
    print("Player One wins, Paper beats Spock.")
elif (player1 == 3, player2 == 2):
    print("Player One wins, Scissors beats Paper.")
elif (player1 == 3, player2 == 4):
    print("Player One wins, Scissors beats Lizard.")
elif (player1 == 4, player2 == 2):
    print("Player One wins, Lizard beats Paper.")
elif (player1 == 4, player2 == 5):
    print("Player One wins, Lizard beats Spock.")
elif (player1 == 5, player2 == 3):
    print("Player One wins, Spock beats Scissors.")
elif (player1 == 5 , player2 == 1):
    print("Player One wins, Spock beats Rock.")

#Player 2 wins       

elif (player2 == 1, player1 == 3):
    print("Player Two wins, Rock beats Scissors.")
elif (player2 == 1, player1 == 4):
    print("Player Two wins, Rock beats Lizard.")
elif (player2 == 2, player1 == 1):
    print("Player Two wins, Paper beats Rock.")
elif (player2 == 2, player1 == 5):
    print("Player Two wins, Paper beats Spock.")
elif (player2 == 3, player1 == 2):
    print("Player Two wins, Scissors beats Paper.")
elif (player2 == 3, player1 == 4):
    print("Player Two wins, Scissors beats Lizard.")
elif (player2 == 4, player1 == 2):
    print("Player Two wins, Lizard beats Paper.")
elif (player2 == 4, player1 == 5):
    print("Player Two wins, Lizard beats Spock.")
elif (player2 == 5, player1 == 3):
    print("Player Two wins, Spock beats Scissors.")
elif (player2 == 5 , player1 == 1):
    print("Player Two wins, Spock beats Rock.")
</code></pre>

<p>While TigerHawk covered your condiction, you also have to cast your inputs to ints.</p>

<pre><code>player1 = int(player1)
player2 = int(player2)
</code></pre>

<p>Right now you are comparing a str (your input) to an int (<code>player == 1</code>). Which won't yield what you want.</p>

<pre><code>player1 == 1      #fails right now since it's like asking "1" == 1 which fails.
int(player1) == 1 # passes since it's asking 1 == 1. 
</code></pre>

<p>Also your <code>print("It's a tie.")</code> is indented wrong.</p>

python