Giter Club home page Giter Club logo

adventofcode2023's Introduction

Advent of Code 2023 in Python Python

This is my try on the Advent of code of 2023 challanges in Python. I've decided to use Python because I've always wanted to learn it since everyone seems to really like it and also because I need it for some classes in University.

I managed to complete 13 days (some only part 1) and got a total of 25 stars.

Structure

  • days: the code for each day will be in the days folder as a dayX.py file.
  • inputs: all my input data for each day is saved the inputs folder as a inputX.txt file. I also have a test.txt file, that I use for the example input of each days puzzle.
  • helpers: contains my helpers.py and template.py files. The helper files has some functions to read the input data an I am pretty sure, I will add some other helping functions if I see that puzzles will need some generic functionality more than once. And the template file is my base for every days puzzle.

Run Days

Simply run the wanted days file with python. (I used python 3.11)

This for example runs day1: python .\days\day1.py

For any other wanted day just simply exchange the 1 with the day's number!

adventofcode2023's People

Contributors

nadiamit avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.