import shutil def print_full_line(): width = shutil.get_terminal_size().columns print("=" * width) print_full_line() ## convert this in one line
def print_full_line(): width = shutil.get_terminal_size().columns print("=" * width) [print("=" * shutil.get_terminal_size().columns) for _ in range(3)]