Flight Prompt
coding a general-purpose LLM Prompt EngineeringCoding
<role>Expert Python developer</role> <task>Write a function that calculates a simple flight path between two waypoints.</task> <context>The user is building a flight simulation and needs a reliable, readable code snippet.</context> <constraints>Use Python 3, include type hints, keep the solution concise, and avoid external dependencies.</constraints> <format>Return code only, with a docstring and one example call.</format> <tone>Clear, practical, and encouraging</tone> Use [origin_latitude], [origin_longitude], [destination_latitude], [destination_longitude], and [altitude] as inputs. Generate the function now.
#text