Ejemplo n.º 1
0
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)
Ejemplo n.º 2
0
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)
Ejemplo n.º 3
0
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)
Ejemplo n.º 4
0
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)