Skip to content
This repository has been archived by the owner on Jun 17, 2021. It is now read-only.

Commit

Permalink
remove destination
Browse files Browse the repository at this point in the history
  • Loading branch information
Pin Lin committed Jun 26, 2018
1 parent d96b815 commit f8f3e7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def display(city, routes):
print("哪一個子路線?")
# 顯示查詢到的所有路線
for subRoute in subRoutes:
print("{0}. {1}(往{2})".format(subRoutes.index(subRoute) + 1, subRoute['subRouteName'], subRoute['stops'][-1]['stopName']))
print("{0}. {1}".format(subRoutes.index(subRoute) + 1, subRoute['subRouteName']))
print()
# 接收使用者的輸入
select = int(input("> ")) - 1
Expand Down Expand Up @@ -150,4 +150,4 @@ def main():
f.close()

if __name__ == '__main__':
main()
main()

0 comments on commit f8f3e7d

Please sign in to comment.