code: def unquote_string(code):
      
  
      scode = code.strip()
      assert scode[-1] in ["'", '"']
      assert scode[0] in ["'", '"'] or scode[1] in ["'", '"']
  
      return ast.literal_eval(scode)
docs: Returns a string from code that contains a repr of the string