Skip to content
Closed
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions exercises/concept/locomotive-engineer/.meta/exemplar.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ def extend_route_information(route, more_route_information):
def fix_wagon_depot(wagons_rows):
"""Fix the list of rows of wagons.

:param wagons_rows: list[tuple] - the list of rows of wagons.
:return: list[tuple] - list of rows of wagons.
:param wagons_rows: list[list[tuple]] - the list of rows of wagons.
:return: list[list[tuple]] - list of rows of wagons.
"""

[*row_one], [*row_two], [*row_three] = zip(*wagons_rows)
Expand Down
4 changes: 2 additions & 2 deletions exercises/concept/locomotive-engineer/locomotive_engineer.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def extend_route_information(route, more_route_information):
def fix_wagon_depot(wagons_rows):
"""Fix the list of rows of wagons.

:param wagons_rows: list[tuple] - the list of rows of wagons.
:return: list[tuple] - list of rows of wagons.
:param wagons_rows: list[list[tuple]] - the list of rows of wagons.
:return: list[list[tuple]] - list of rows of wagons.
"""
pass