title: Assigning specific things to a class in Python
body: <p>Ok this is a pretty basic question, but I am trying to improve the efficiency of my code. I have a text-based game, and I currently have a separate class for every weapon that I have, each with independently operated variables. I'm using the Python 2.7 IDE. This is what my code looks like: (Also, how would I reference the properties of each weapon?)</p>
  
  <pre><code>class Weapon1():
  owned = True
  damage = 2
  accuracy = 75
  
  class Weapon2():
  owned = False
  damage = 4
  price = 50
  accuracy = 95
  
  class Weapon3():
  owned = False
  damage = 8
  price = 250
  accuracy = 50
  
  class Weapon4():
  owned = False
  damage = 10
  price = 500
  accuracy = 60
  
  class Weapon5():
  owned = False
  damage = 10
  price = 500
  accuracy = 60
  </code></pre>