def stringvalue(string):
 return string.replace((u'\\' + string[0]), string[0])[1:(-1)]

def stringvalue ( string ) : return string . replace ( ( u'\\' + string [ 0 ] ) , string [ 0 ] ) [ 1 : ( - 1 ) ]
retrieve actual value of string without quotes .