code: def flatten(*sequence):
          
          result = []
          for entry in sequence:
              if isinstance(entry, list):
                  result += Select.flatten(*entry)
              elif isinstance(entry, tuple):
                  result += Select.flatten(*entry)
              else:
                  result.append(entry)
          return result
docs: Flatten nested sequences into one.