0
I want to make a program in python which allows user to enter their first and last metro train station and get all information.
the program will tell the user about the fares,total stations in between,total distance between the stations,average time to reach the destination sation and average crowd at that time.
1 Resposta
+ 2
@sarthak tyagi
I suggest you first start implementing this task yourself first, and then we'll help you when you're stuck.
Secondly, you will have to feed the initial trip rates, the trip increment cost and the discount (on smart card, if you have that) so that this can be implemented.
The trip increment rate decreases as the distance b/w the start and end stations increases. So you will have to tell me how you want the rate to change...
The average time taken, distance, crowd count, etc are impossible to calculate without surveys and continuous data maintenance. So you will have to feed that separately for each or find a way to calculate (maybe based on distance , etc)...