def initTrain(): # Input function to obtain route number from user station = input( '\n\n*******Get Trains*******\n\nPlease enter a station (leave blank for all trains):\n\n' ) # Call getBuses function with user-defined route number getTrains(station)
def main(): route = "" # Input function to obtain route number from user route = getInput("route") # Call getBuses function with user-defined route number getBuses(route) station = "" # Input function to obtain route number from user station = getInput("station") # Call getBuses function with user-defined route number getTrains(station)
def initTrain(): # Input function to obtain route number from user station = input("\n\n*******Get Trains*******\n\nPlease enter a station (leave blank for all trains):\n\n") # Call getBuses function with user-defined route number getTrains(station)