From 1c8057dfdedba7f512e8a63df32c833072eeeafd Mon Sep 17 00:00:00 2001 From: Valentin Ochs Date: Fri, 4 Dec 2020 20:44:01 +0100 Subject: [PATCH] Reduce 01-1 --- 01-1-1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/01-1-1.py b/01-1-1.py index 07c8d80..f3308f9 100644 --- a/01-1-1.py +++ b/01-1-1.py @@ -1,2 +1,2 @@ l=set(map(int,open(0))) -print([a*b for a in l if (b:=2020-a) in l]) +print([a*b for a in l if(b:=2020-a)in l])