title: (Python) Why my inheritence does not work?
body: <pre><code>class Bin():
      def __init__(self):
          self.bin = {}
  
      def add_to_bin(self, medId , medName):
          self.bin[medId] = medName
  
      def remove_by_id(self, id):
          self.bin.pop(id)
  
      def clean_bin(self):
          self.bin.clear()
  
      def check_ids(self):
          list(self.bin.keys())
  
      def check_names(self):
          list(self.bin.values())
  
      def check_inventory(self):
          list(self.bin.items())
  
  
  if __name__ == &quot;__main__&quot;:
      bin1 = Bin()
      bin1.add_to_bin(100, &quot;advil&quot;)
      bin1.add_to_bin(200, &quot;tylenol&quot;)
      bin1.add_to_bin(300, &quot;pepto-bismol&quot;)
      bin1.check_inventory()
  </code></pre>
  <p>What am I doing wrong? I am so confused.
  I am trying to create a medical storage system with multiple dictionaries. Whenever I try to run the code, it does not return anything.</p>