<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def clear_symbols(self, index):

 """Clears all symbols begining with the index to the end of table"""

        try:
            del self.table[index:]
        except Exception:
            self.error()
        self.table_len = len(self.table)