code: def prepare_value(value):
          
          if isinstance(value, (list, tuple, set)):
              return ",".join(value)
  
          if isinstance(value, bool):
              return "y" if value else "n"
  
          return str(value)
docs: Prepare value to pylint.