From 3a65fdf38ee1e72bb874698563ef0a97e6a09c4e Mon Sep 17 00:00:00 2001 From: aaron Date: Wed, 7 Dec 2022 15:13:28 +0100 Subject: [PATCH] type annotations++ --- 6/tuningtrouble.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/6/tuningtrouble.py b/6/tuningtrouble.py index c3f256f..21fdd69 100644 --- a/6/tuningtrouble.py +++ b/6/tuningtrouble.py @@ -2,7 +2,7 @@ from aocd.models import Puzzle from aocd import submit -def get_marker_pos(signal, N): +def get_marker_pos(signal: str, N: int) -> int: """ iterate over input signal and find the first occurence where the set from i to i+N equals N. This means there