code: def license_from_trove(trove):
      
      license = []
      for classifier in trove:
          if 'License' in classifier:
              stripped = classifier.strip()
              # if taken from EGG-INFO, begins with Classifier:
              stripped = stripped[stripped.find('License'):]
              if stripped in settings.TROVE_LICENSES:
                  license.append(settings.TROVE_LICENSES[stripped])
      return ' and '.join(license)
docs: Finds out license from list of trove classifiers.
      Args:
          trove: list of trove classifiers
      Returns:
          Fedora name of the package license or empty string, if no licensing
          information is found in trove classifiers.