-
Notifications
You must be signed in to change notification settings - Fork 0
/
Nottingham Tram Times.txt
126 lines (126 loc) · 4.89 KB
/
Nottingham Tram Times.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# Nottingham Tram Network - Trip Time Calculator.
Clifton = {"Clifton South":21,"Summerwood Lane":20,"Holy Trinity":19,"Clifton Centre":16,"Rivergreen":15,"Southchurch Drive North":13.5,"Ruddington Lane":11,"Compton Acres":10,"Wilford Lane":8,"Wilford Village":4,"Meadows Embankment":3,"Queens Walk":1.5,"Station":0}
Toton = {"Toton":31,"Inham Road":29,"Eskdale Drive":27,"Bramcote Lane":25,"Cator Lane":23,"High Road":21,"Chilwell Road":20,"Beeston Centre":18,"Middle Street":16,"University Boulevard":14,"University Of Nottingham":10,"QMC":8,"Gregory Street":6.5,"NG2":4,"Meadows Way West":2.5,"Station":0}
Hucknall = {"Hucknall":11,"Butlers Hill":8,"Moor Bridge":6,"Bulwell Forest":4,"Bulwell":2,"Highbury Vale":0,"David Lane":19,"Basford":18, "Wilkinson Street":16,"Radford Road":14,"Hyson Green Market":12,"The Forest":10,"High School":8,"Nottingham Trent University":5.5,"Royal Centre": 4,"Old Market Square": 3, "Lace Market":1.5, "Station":0}
Phoenix = {"Phoenix":25,"CinderHill":23,"Highbury Vale":22,"David Lane":19,"Basford":18, "Wilkinson Street":16,"Radford Road":14,"Hyson Green Market":12,"The Forest":10,
"High School":8,"Nottingham Trent University":5.5,"Royal Centre": 4,"Old Market Square": 3, "Lace Market":1.5, "Station":0}
print("Welcome to the Nottingham Tram Network Journey time calculator:")
print("Please type your first station name")
Station1 = input()
print("Please type your first station line")
Line1 = input()
print("Please type your second station name")
Station2 = input()
print("Please type your second station line")
Line2 = input()
if Line1 == "Phoenix" and Line2 == "Toton":
Time = 0
Time = int(Time)
Time1 = int(Phoenix.get(Station1))
Time2 = int(Toton.get(Station2))
Time = Time1+Time2
print("Your trip time is", Time , "Minutes")
exit()
if Line1 == "Toton" and Line2 == "Phoenix":
Time = 0
Time = int(Time)
Time1 = int(Toton.get(Station1))
Time2 = int(Phoenix.get(Station2))
Time = Time1+Time2
print("Your trip time is", Time , "Minutes")
exit()
if Line1 == "Phoenix" and Line2 == "Clifton":
Time = 0
Time = int(Time)
Time1 = int(Phoenix.get(Station1))
Time2 = int(Clifton.get(Station2))
Time = Time1+Time2
print("Your trip time is", Time , "Minutes")
exit()
if Line1 == "Clifton" and Line2 == "Phoenix":
Time = 0
Time = int(Time)
Time1 = int(Clifton.get(Station1))
Time2 = int(Phoenix.get(Station2))
Time = Time1+Time2
print("Your trip time is", Time , "Minutes")
exit()
if Line1 == "Clifton" and Line2 == "Toton":
Time = 0
Time = int(Time)
Time1 = int(Clifton.get(Station1))
Time2 = int(Toton.get(Station2))
Time = Time1+Time2
print("Your trip time is", Time , "Minutes")
exit()
if Line2 == "Clifton" and Line1 == "Toton":
Time = 0
Time = int(Time)
Time1 = int(Clifton.get(Station2))
Time2 = int(Toton.get(Station1))
Time = Time1+Time2
print("Your trip time is", Time, "Minutes")
exit()
if Line1 == "Clifton" and Line2 == "Hucknall":
Time = 0
Time = int(Time)
Time1 = int(Clifton.get(Station1))
Time2 = int(Hucknall.get(Station2))
Time = Time1+Time2
print("Your trip time is", Time , "Minutes")
exit()
if Line2 == "Clifton" and Line1 == "Hucknall":
Time = 0
Time = int(Time)
Time1 = int(Clifton.get(Station2))
Time2 = int(Hucknall.get(Station1))
Time = Time1+Time2
print("Your trip time is", Time , "Minutes")
exit()
if Line1 == "Hucknall" and Line2 == "Toton":
Time = 0
Time = int(Time)
Time1 = int(Hucknall.get(Station1))
Time2 = int(Toton.get(Station2))
Time = Time1+Time2
print("Your trip time is", Time , "Minutes")
exit()
if Line2 == "Hucknall" and Line1 == "Toton":
Time = 0
Time = int(Time)
Time1 = int(Toton.get(Station1))
Time2 = int(Hucknall.get(Station2))
Time = Time1+Time2
print("Your trip time is", Time , "Minutes")
exit()
if (Line1 and Line2) == "Toton":
Time = 0
Time = int(Time)
Time1 = int(Toton.get(Station1))
Time2 = int(Toton.get(Station2))
Time = Time1-Time2
print("Your trip time is", Time , "Minutes")
exit()
if (Line1 and Line2) == "Hucknall":
Time = 0
#Time = int(Time)
Time1 = int(Hucknall.get(Station1))
Time2 = int(Hucknall.get(Station2))
Time = Time1-Time2
print("Your trip time is", Time , "Minutes")
exit()
if (Line1 and Line2) == "Clifton":
Time = 0
Time = int(Time)
Time1 = int(Clifton.get(Station1))
Time2 = int(Clifton.get(Station2))
Time = (Time1-Time2)
print("Your trip time is", Time , "Minutes")
exit()
if (Line1 and Line2) == "Phoenix":
Time = 0
Time = int(Time)
Time1 = int(Phoenix.get(Station1))
Time2 = int(Phoenix.get(Station2))
Time = (Time1-Time2)
print("Your trip time is", Time , "Minutes")