<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def standardise_quotes(self, val):
 """ Change the quotes used to wrap a value to the pprint default E.g. "val" to 'val' or 'val' to "val" """

        if self._in_quotes(val, self.altquote):
            middle = self.remove_quotes(val)
            val = self.add_quotes(middle)

        return self.escape_quotes(val)