From 7293544bf2b3b56feeb87a9d88ce50f7448261a5 Mon Sep 17 00:00:00 2001 From: Joyce Date: Thu, 9 Sep 2021 17:13:43 +0800 Subject: [PATCH] [mypy] fix type annotations for project euler problem037/sol1 --- project_euler/problem_037/sol1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project_euler/problem_037/sol1.py b/project_euler/problem_037/sol1.py index 5423aac37c01..0411ad41ba2f 100644 --- a/project_euler/problem_037/sol1.py +++ b/project_euler/problem_037/sol1.py @@ -76,7 +76,7 @@ def compute_truncated_primes(count: int = 11) -> list[int]: >>> compute_truncated_primes(11) [23, 37, 53, 73, 313, 317, 373, 797, 3137, 3797, 739397] """ - list_truncated_primes = [] + list_truncated_primes: list[int] = [] num = 13 while len(list_truncated_primes) != count: if validate(num):