diff --git a/scripts/leetcode_directory_md.py b/scripts/leetcode_directory_md.py index 42d6b1c7..4c9a7dc0 100644 --- a/scripts/leetcode_directory_md.py +++ b/scripts/leetcode_directory_md.py @@ -77,10 +77,10 @@ def print_directory_md(tasks_list: list[Task]) -> None: def formatted_string(header, title, solution, difficulty): return ( - f"| {header.ljust(id_max_length)}" - + f"| {title.ljust(title_max_length)}" - + f"| {solution.ljust(solution_max_length)}" - + f" | {difficulty.ljust(difficulty_max_length)} |" + f"| {header.rjust(id_max_length)} " + + f"| {title.ljust(title_max_length)} " + + f"| {solution.ljust(solution_max_length)} " + + f"| {difficulty.ljust(difficulty_max_length)} |" ) tasks_rows = []