code: def convert_to_str(input_string):
  
      
  
      if sys.version < '3':
  
          if isinstance(input_string, str) \
                  or isinstance(input_string, unicode):  # pragma: no cover py3
  
              return input_string  # pragma: no cover py3
  
      else:
  
          if isinstance(input_string, str):  # pragma: no cover py3
  
              return input_string  # pragma: no cover py3
  
      return str(input_string)
docs: Returns a string of the input compatible between py2 and py3
      :param input_string:
      :return: