code: def format_list(data):
      
      if isinstance(data, (list, tuple)):
          to_clean = ['[', ']', '(', ')', "'"]
          for item in to_clean:
              data = str(data).replace("u\"", "\"").replace("u\'", "\'")
              data = str(data).replace(item, '')
      return data
docs: Remove useless characters to output a clean list.