/python_advent_calendar

An advent calendar with small coding challenges behind every door

Primary LanguageJupyter Notebook

python_advent_calendar

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:

Let us all improve our skills bit by bit, exchange about it and thus be prepared to have a good start into 2021.

First Door

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

Second Door

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.

Second and a half Door

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

Third Door

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

Fourth Door

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

Fifth Door

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

Sixth Door

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

Seventh Door

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

Eighth Door

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

Ninth Door

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

Tenth Door

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

Eleventh Door

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

Twelfth and last Door

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