Python exercise

Airline ticket

Sign in to hand in your solution and get feedback.

# Airline ticket program # ------------------------- # Subprograms # ------------------------- # Function to return truncated airport names def airports(departure, arrival): # ------------------------- # Main program # ------------------------- print(airports("Gatwick", "Amsterdam"))