code: def DeleteIndex(self, index):
          
          to_remove = None
          for i in self.Items:
              if i.index == index:
                  to_remove = i
  
          if to_remove:
              self.Items.remove(to_remove)
docs: Remove a spent coin based on its index.
  
          Args:
              index (int):