<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def schoice(self, seq: str, end: int = 10) -> str: """Choice function which returns string created from sequence. :param seq: Sequence of letters or digits. :type seq: tuple or list :param end: Max value. :return: Single string. """

        return ''.join(self.choice(list(seq))
                       for _ in range(end))