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

  Python sandbox

This window allows you to run Python code without installing a thing. The code you write here is not automatically submitted to Dodona.

Test case being debugged