Need help to strip double quotes from the variable a
>>> a
' "AZ-EDH"'
when following command is executed then only last double quotes are stripped
>>> a.strip('"')
' "AZ-EDH'
whereas when any of the following command is executed then both spaces & double quotes are stripped.
>>> a.strip('" ')
'AZ-EDH'
>>> a.strip(' " ')
'AZ-EDH'
>>> a.strip(' "')
'AZ-EDH'
What am I missing here?