code: def get_factor_list(self):
          
          factors = self.get_factor_from_api()
          if not factors:
              return []
          ml = [[int(x)] * y for x, y in factors]
          return [y for x in ml for y in x]
docs: get_factors: [['2', 3], ['3', 2]]
          Returns: [2, 2, 2, 3, 3]