mirror of
https://github.com/TheAlgorithms/C
synced 2024-11-25 06:49:36 +03:00
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,7 +77,7 @@ def print_directory_md(tasks_list: list[Task]) -> None:
|
|||||||
|
|
||||||
def formatted_string(header, title, solution, difficulty):
|
def formatted_string(header, title, solution, difficulty):
|
||||||
return (
|
return (
|
||||||
f"| {header.ljust(id_max_length)}"
|
f"| {header.rjust(id_max_length)} "
|
||||||
+ f"| {title.ljust(title_max_length)} "
|
+ f"| {title.ljust(title_max_length)} "
|
||||||
+ f"| {solution.ljust(solution_max_length)} "
|
+ f"| {solution.ljust(solution_max_length)} "
|
||||||
+ f"| {difficulty.ljust(difficulty_max_length)} |"
|
+ f"| {difficulty.ljust(difficulty_max_length)} |"
|
||||||
|
Loading…
Reference in New Issue
Block a user