diff --git a/2021/d05/ex1/ex1.py b/2021/d05/ex1/ex1.py index 2031251..065c9a4 100755 --- a/2021/d05/ex1/ex1.py +++ b/2021/d05/ex1/ex1.py @@ -3,7 +3,7 @@ import itertools import sys from collections import Counter -from typing import Iterable, List, NamedTuple, Tuple +from typing import Iterable, List, Tuple, NamedTuple class Point(NamedTuple): diff --git a/2021/d05/ex2/ex2.py b/2021/d05/ex2/ex2.py index a023b80..b3ead14 100755 --- a/2021/d05/ex2/ex2.py +++ b/2021/d05/ex2/ex2.py @@ -3,7 +3,7 @@ import itertools import sys from collections import Counter -from typing import Iterable, List, NamedTuple, Tuple +from typing import Iterable, List, Tuple, NamedTuple class Point(NamedTuple): diff --git a/2021/d06/ex1/ex1.py b/2021/d06/ex1/ex1.py index 5eec9ce..2f21557 100755 --- a/2021/d06/ex1/ex1.py +++ b/2021/d06/ex1/ex1.py @@ -6,6 +6,7 @@ from collections import Counter from dataclasses import dataclass from typing import Iterator, List, TypeVar + T = TypeVar("T") diff --git a/2021/d06/ex2/ex2.py b/2021/d06/ex2/ex2.py index 2e64423..16dd7f7 100755 --- a/2021/d06/ex2/ex2.py +++ b/2021/d06/ex2/ex2.py @@ -6,6 +6,7 @@ from collections import Counter from dataclasses import dataclass from typing import Iterator, List, TypeVar + T = TypeVar("T")