Skip to content

Instantly share code, notes, and snippets.

@codingjoe
Created September 28, 2017 15:36
Show Gist options
  • Save codingjoe/3cd016eac23fd22356845e367d7074e9 to your computer and use it in GitHub Desktop.
Save codingjoe/3cd016eac23fd22356845e367d7074e9 to your computer and use it in GitHub Desktop.
Homa's coding challenge

Let's assume you have a co-worker explaining a problem to you and you have to come up with a solution.

Here's your co-worker:

I have to commute to work every day for two hours. An hour to the office and an hour home. The worst part, the train to the office only leaves every hour. So if I miss it, I have to wait another hour.

Can you build me a small script for my computer that reminds me that I need to leave the office to catch my train? Thanks!

Feel free to ask questions in the comments to solve the challenge. You can assume that your co-worker has the latest version of Python installed.

If you are not from Berlin, you should know that our transportation system is called VBB. They have an API ;)

The challenge should not take more than two hours, you do not need to complete it.

@codingjoe
Copy link
Author

Make sure to comment here, feel free to send me a reminder via email: johannes.hopep@thermondo.de

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment