from graph_search import bfs, dfs from vc_metro import vc_metro from vc_landmarks import vc_landmarks from landmark_choices import landmark_choices employee_ids = ['11111', '22222', '33333', '44444', '55555', '66666', '77777', '88888', '99999', '00000'] landmark_string = '' stations_under_construction = [] for letter, landmark in landmark_choices.items(): landmark_string += '{0} - {1}\n'.format(letter, landmark) def greet(): print('Hi there and welcome to SkyRoute!') print('We\'ll help you find the shortest route between the following Vancouver landmarks:\n' + landmark_string) def skyroute(): greet() new_route() goodbye() def set_start_and_end(start_point, end_point): if start_point: change_point = input("What would you like to change? You can enter 'o' for 'origin', 'd' for 'destination', or 'b' for 'both': ") if change_point == 'b': start_point = get_start() end_point = get_end() elif change_point == 'o': start_point = get_start() elif change_point == 'd': end_point = get_end() else:
from graph_search import bfs, dfs from vc_metro import vc_metro from vc_landmarks import vc_landmarks from landmark_choices import landmark_choices # Build your program below: landmark_string = "" for key, value in landmark_choices.items(): landmark_string += "{0} - {1}\n".format(key, value) stations_under_construction = ['Scotiabank Field at Nat Bailey Stadium'] def greet(): print("Hi there and welcome to SkyRoute!") "We'll help you find the shortest route between the following Vancouver landmarks:\n" + landmark_string def skyroute(): greet() show_landmarks() new_route() goodbye() def set_start_and_end(start_point, end_point): if start_point != None: change_point = input( "What would you like to change? You can enter 'o' for 'origin', 'd' for 'destination', or 'b' for 'both': " ) if change_point == 'b': start_point = get_start()