mirror of https://github.com/TheAlgorithms/C
fix: indentation for `leetcode_directory_md.py` (#1203)
* fix indentation for leetcode_directory_md.py * small fix
This commit is contained in:
parent
88d29872f9
commit
5ef38b30f6
|
@ -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 = []
|
||||
|
|
Loading…
Reference in New Issue