diff --git a/nav.py b/nav.py index f7d8ba0..fdca11a 100644 --- a/nav.py +++ b/nav.py @@ -88,7 +88,7 @@ def legs(route: list[str]) -> Iterator[tuple[str, str]]: yield route[i], route[i + 1] -def plan(destination: str) -> tuple[list[str], float, float, float]: +def plot_course(destination: str) -> tuple[list[str], float, float, float]: """Return route, distance, travel time (days) and fuel (t).""" route = ROUTES[destination] total = 0.0