Your code returns true if you have only the exact (not the exact really but close) amount of fuel to reach the station. That's not what is asked here. You could reach the station and yet have your tank half full for example.
Thanks, but it didn't help to solve the issue.
Read this: https://docs.codewars.com/training/troubleshooting/
I have the same problem buddy! Any ideas on how to solve it?
Loading collection data...
Your code returns true if you have only the exact (not the exact really but close) amount of fuel to reach the station. That's not what is asked here. You could reach the station and yet have your tank half full for example.
Thanks, but it didn't help to solve the issue.
Read this: https://docs.codewars.com/training/troubleshooting/
I have the same problem buddy! Any ideas on how to solve it?