From a558a3048abf1f84ac3d24e7884ed6787dbbfbaf Mon Sep 17 00:00:00 2001 From: Mudith Daga Date: Tue, 19 Jul 2022 17:05:32 +0530 Subject: [PATCH] Update 4.py --- 2020/4.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2020/4.py b/2020/4.py index b341a68..edae34e 100644 --- a/2020/4.py +++ b/2020/4.py @@ -1,7 +1,7 @@ # If you already have the data as an input use: data = [] # Your Advent Calendar Input # However, it is highly recommended to run this: -location = "" # Path of the input.txt provided from Advent Calendar +location = "" # Path of the input.txt provided from Advent Calendar (Replace '\' → '\\') try: with open(location,'r') as f: data = (''.join(f.readlines())).split('\n\n')