<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def tr(self, args, color=None):
 """ Method to print ASCII patterns to terminal """

        width = self._term_size()[1]
        if not args:
            if color is not None:
                print(self._echo("#" * width, color))
            else:
                print(self._echo("#" * width, "green"))
        else:
            for each_symbol in args:
                chars = len(each_symbol)
                number_chars = width // chars
                if color is not None:
                    print(self._echo(each_symbol * number_chars, color))
                else:
                    print(each_symbol * number_chars)