s
t
a
t
i
o
n
s
is a list that contains the sequence of stations visited by a train from the “Trains” dataset. Each element in
s
t
a
t
i
o
n
s
is a list:
[
N
a
m
e
,
D
i
s
t
a
n
c
e
]
, the first entry is the name of the station, while the second entry is the distance of this station from the first station in the list.
m
i
n
D
i
s
t
is a procedure that accepts
s
t
a
t
i
o
n
s
as a parameter and returns the names of a pair of consecutive stations which have the shortest distance between them on this route. Complete the following procedure
Answers
Answered by
2
Answer:
what kind of question is this
please don't waste others time
Similar questions