Skip to content

Instantly share code, notes, and snippets.

View thibault's full-sized avatar

Thibault J. thibault

View GitHub Profile
04341dccd2654e7465493acec7c1a27f806472544e34b09f3064f974202d233f6910cdda14bf80fd36d9d3fd7698b69150b9e0254b888aaddcbf494a10e76ec621
@thibault
thibault / python
Created December 25, 2021 16:07
Solution à l'advent of code 2021, jour 18
import re
import math
class Leaf:
def __init__(self, val):
self.val = val
def __str__(self):
return f'{self.val}'