<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def to_tuple(self, iterable, surround="()", joiner=", "):
 """Returns the iterable as a SQL tuple."""

    return "{0}{1}{2}".format(surround[0], joiner.join(iterable), surround[1])