<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( self, back_r: int = 0, back_g: int = 0, back_b: int = 0, fore_r: int = 0, fore_g: int = 0, fore_b: int = 0, char: str = " ", ) -> None: """Clears the console. Values to fill it with are optional, defaults to black with no characters. Args: back_r (int):
 Red background color, from 0 to 255. back_g (int):
 Green background color, from 0 to 255. back_b (int):
 Blue background color, from 0 to 255. fore_r (int):
 Red foreground color, from 0 to 255. fore_g (int):
 Green foreground color, from 0 to 255. fore_b (int):
 Blue foreground color, from 0 to 255. char (AnyStr):
 A single character str or bytes object. """

        n = self.width * self.height
        self.back_r = [back_r] * n
        self.back_g = [back_g] * n
        self.back_b = [back_b] * n
        self.fore_r = [fore_r] * n
        self.fore_g = [fore_g] * n
        self.fore_b = [fore_b] * n
        self.char = [ord(char)] * n