Create A Cart Ride Code In Python