From a14a63dca3af8229551af11bb79d84ac69c00536 Mon Sep 17 00:00:00 2001 From: "Cmdr. Nova" Date: Thu, 8 Oct 2026 19:56:00 +0200 Subject: [PATCH] refactor(nav): rename plan() to plot_course() --- nav.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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