From 0442a95edb41b5be288cc79e0a0dfb8858f264a1 Mon Sep 17 00:00:00 2001 From: Valentin Ochs Date: Fri, 4 Dec 2020 20:39:18 +0100 Subject: [PATCH] Remove space --- 02-2-1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/02-2-1.py b/02-2-1.py index 09258ad..a7e274f 100644 --- a/02-2-1.py +++ b/02-2-1.py @@ -1,4 +1,4 @@ def f(d,e,f): a,b=*map(int,d.split('-')) return (f[a-1]==e[0])^(f[b-1]==e[0]) -print(sum(f(*x.split()) for x in open(0))) +print(sum(f(*x.split())for x in open(0)))