You are viewing a single comment's thread from:
RE: Payment for Coding done
Example usage
route = "Route 1"
price_comparison = compare_prices(flight_data, route)
for airline, avg_price in price_comparison.items():
print(f"{airline}: Average Price for {route} - ${avg_price:.2f}")