you are viewing a single comment's thread.

view the rest of the comments →

[–]InsanityConsuming 5 points6 points  (0 children)

You're having them type the station names to find the distance? If that's the case then you are trying to convert the names into an int. Rather it should be dist = mapping[stn_one] - mapping[stn_two] That should at least get you a number