Files
python/exercises/concept/locomotive-engineer/locomotive_engineer.py
BethanyG 185fbdfac9 Random grammar, spelling and content edits. (#3581)
[no important files changed]
2023-12-27 06:02:10 -08:00

50 lines
1.2 KiB
Python

"""Functions which helps the locomotive engineer to keep track of the train."""
def get_list_of_wagons():
"""Return a list of wagons.
:param: arbitrary number of wagons.
:return: list - list of wagons.
"""
pass
def fix_list_of_wagons(each_wagons_id, missing_wagons):
"""Fix the list of wagons.
:param each_wagons_id: list - the list of wagons.
:param missing_wagons: list - the list of missing wagons.
:return: list - list of wagons.
"""
pass
def add_missing_stops():
"""Add missing stops to route dict.
:param route: dict - the dict of routing information.
:param: arbitrary number of stops.
:return: dict - updated route dictionary.
"""
pass
def extend_route_information(route, more_route_information):
"""Extend route information with more_route_information.
:param route: dict - the route information.
:param more_route_information: dict - extra route information.
:return: dict - extended route information.
"""
pass
def fix_wagon_depot(wagons_rows):
"""Fix the 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