title: How do if statements work?
body: <p>I am making a text based russian roulette game in Python, but I am not nearly finished, as one can see just by looking at my code:</p>
  
  <pre><code>#!/usr/bin/env python
  print("The maximum number of bullets is 3")
  bulletcounter = input("How many bullets do you want your gun to have?")
  print(bulletcounter, "bullets")
  paname = input("Enter Player 1's Name: ")
  pbname = input("Enter Player 2's Name: ")
  print(paname.capitalize(), "Vs.", pbname.capitalize())
  if bulletcounter == 1:
      bulletcount = 0
      print(bulletcount)
      bulletaloc = random.randint(1, 6)
      while bulletaloc != bulletcount:
          bulletcount += 1
  </code></pre>
  
  <p>For some reason, even if someone enters <code>1</code> into <code>bulletcounter</code>, it doesn't trigger the <code>if</code> statement: <code>if bulletcounter == 1</code>. How do I make it trigger the <code>if</code> statement?</p>