Question: In Python 3.8 Write a python code that will figure out the below scenario. Two trains leave the station going in the opposite direction at
In Python 3.8
Write a python code that will figure out the below scenario. Two trains leave the station going in the opposite direction at X miles from the station, each train makes a right turn and travels Y miles to the destination. How far are the destinations from each other?
please explain how you do it. I am quite lost on how to approach this. Thanks
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
