Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions exercises/concept/locomotive-engineer/locomotive_engineer.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def fix_list_of_wagons(each_wagons_id, missing_wagons):

Parameters:
each_wagons_id (list[int]): The list of wagons.
missing_wagons (list[int]) The list of missing wagons.
missing_wagons (list[int]): The list of missing wagons.

Returns:
list[int]: The corrected list of wagons.
Expand All @@ -31,7 +31,7 @@ def add_missing_stops(route):

Parameters:
route (dict): The dict of routing information.
(dict): arbitrary number of stops.
route (dict): Arbitrary number of stops.

Returns:
dict: The updated route dictionary.
Expand All @@ -56,9 +56,9 @@ def fix_wagon_depot(wagons_rows):
"""Fix the list of rows of wagons.

Parameters:
wagons_rows (list[tuple]) The list of rows of wagons.
wagons_rows (list[tuple]): The list of rows of wagons.

Returns:
list[tuple]: the list of rows of wagons.
list[tuple]: The list of rows of wagons.
"""
pass