code: def value_after(self, x):
          
  
          try:
              try:
                  i = self.all.index(x)
              except ValueError:
                  return None
  
              return self.all[i + 1]
  
          except IndexError:
              return None
docs: Returns value of argument after given found argument (or list thereof).