Print styled text(red). :parameter text: text to print. :parameter print_function: Function that will be used to print in game.
(text: str, print_function: Callable[[str], None])
| 34 | |
| 35 | |
| 36 | def print_right(text: str, print_function: Callable[[str], None]) -> None: |
| 37 | """ |
| 38 | Print styled text(red). |
| 39 | |
| 40 | :parameter text: text to print. |
| 41 | :parameter print_function: Function that will be used to print in game. |
| 42 | """ |
| 43 | print_function(Style.RESET_ALL + Fore.GREEN + text) |
| 44 | |
| 45 | |
| 46 | def parse_word_from_local( |