title: Rock, paper scissor Spock lizard python with modulo algorithm
body: <p>I am currently new to python and the programming world, so this question may sound very newish for you. </p>
  
  <p>I am trying to create a rock, paper, scissors, lizard and Spock game. I wanted to use a modulo to save a lot of if statements. My problem is that I cannot get the modulo to determine the correct winner. Can anyone see what I am doing wrong?</p>
  
  <pre><code>import random
  
  while True:
      User1 = input('What s your name?&gt;&gt;&gt;')
      print("Lets start a single player mode of rock, paper, scissors, lizard and Spock", end='.')
      print('\n choose one of the options below', User1,
            '(number only):''\n 0.rock \n 1.paper \n 2.scissors \n 3.lizard \n 4.Spock')
      player_num = int(input())
      computer_num = random.randrange(0, 5)
      difference = (player_num - computer_num) % 5
      if player_num == -5:
          winner = 'You lost'
      else:
          if difference == 0:
              winner = 'It´s a tie'
              print(computer_num)
          elif difference == 1 or difference == 2:
              winner = (User1 + "wins!")
              print(computer_num)
          elif difference == 3 or difference == 4:
              winner = 'Computer wins.'
              print(computer_num)
          else:
              print("Please select one of the options followed by 1, 2, 3 or 4.")
      print(winner)
  </code></pre>
  
  <p>For example when I enter <code>2</code> computer chooses <code>3</code> and wins the game. </p>