In this repository I will put up some small python coding challenges that can be used to learn and improve your python skills. While some challenges will be generic, some are about the aviation industry and data processing in that area.
Even though it is called an advent calendar there will be a surprise only every second day, meaning every odd day from the first of December until 23rd of December. The solutions to the problems will always be published one day later.
If you have suggestions or input feel free to open issues in the GitHub repository or comment under the posts where you saw the link to this repository. As always Google is your friend and I am looking forward to see some solutions that I did not think of. Most of the challenges can be done within 10 lines, which does not automatically mean that those are easy problems.
I am trying to allow the participation with as little preparation as possible. You will only need your browser to participate. The challenges can be done either in databricks or even in the freely available google colab. Try to use the door_0 example in the tasks folder to check your setup.
Follow the videos below to find out how to set up the respective account:
-
Databricks Video Intro
You need to have access to a databricks workspace. Either your company already set up one for you or you can do that yourself here: https://docs.databricks.com/getting-started/index.html -
Google Colab Video Intro
For Google Colab you need a google account and then you can sign in here: https://colab.research.google.com/ If you are not really used to git workflows you can open the notebooks one by one as shown in the video above. If you are experienced with the git workflows or want to learn more about them you can clone/fork this repository to your own github and then run the notebooks in colab by visting https://colab.research.google.com/github/ where you find your repositories.
Let us all improve our skills bit by bit, exchange about it and thus be prepared to have a good start into 2021.
Christmas preparations started. Find the first challenge under tasks in the file Task_01_confused_airports.ipynb The solution will be provided tomorrow, 2nd of December and the next challenge will be published on the 3rd of December.
Find my suggested solution to the challenge of the first door here: Solution_01_confused_airports.ipynb
Find the next challenge under tasks in the file Task_03_palindrome.ipynb The solution will be provided tomorrow, 4th of December and the next challenge will exceptionally also be published tomorrow, on the 4th of December.
Find my suggested solution to the challenge here: Solution_03_palindrome.ipynb
I also included a much simpler and more pythonic solution provided by Daniel Moser.
Find the exceptional challenge for the second and a half door in the file Task_04_roundtrips.ipynb.
Find my suggested solution to the challenge here: Solution_04_roundtrips.ipynb
Find the next challenge under tasks in the file Task_05_messed_requirements.ipynb
Find my suggested solution to the challenge here: Solution_05_messed_requirements.ipynb
Find the next challenge under tasks in the file Task_07_lh_fleet.ipynb
Find my suggested solution to the challenge here: Solution_07_lh_fleet.ipynb
Find the next challenge under tasks in the file Task_09_flight_duration.ipynb
Find my suggested solution to the challenge here: Solution_09_flight_duration.ipynb
Find the next challenge under tasks in the file Task_11_openflights.ipynb
Find my suggested solution to the challenge here: Solution_11_openflights.ipynb
Find the next challenge under tasks in the file Task_13_tic_tac_toe.ipynb.
Find my suggested solution to the challenge here: Solution_13_tic_tac_toe.ipynb
Find the next challenge under tasks in the file Task_15_tic_tac_toe.ipynb.
Find my suggested solution to the challenge here: Solution_15_tic_tac_toe.ipynb
Find the next challenge under tasks in the file Task_17_tic_tac_toe.ipynb.
Find my suggested solution to the challenge here: Solution_17_tic_tac_toe.ipynb
Find the next challenge under tasks in the file Task_19_planes.ipynb. The solution and the next challenge will be provided on 21st of December.
Find my suggested solution to the challenge here: Solution_19_planes.ipynb
Find the next challenge under tasks in the file Task_21_the_gap.ipynb. The solution and the next challenge will be provided on 23rd of December.
Find my suggested solution to the challenge here: Solution_21_the_gap.ipynb
Find the next challenge under tasks in the file Task_23_xmas_tree.ipynb.
Find my suggested solution to the challenge here: Solution_23_xmas_tree.ipynb
Thanks for your participation and
Merry Christmas