Day 11 - UGLY AF

This commit is contained in:
Sebastian Seedorf
2020-12-11 13:35:17 +01:00
parent acb4d8077a
commit 9be8c58ee6
4 changed files with 207 additions and 0 deletions

6
day11/common.py Normal file
View File

@@ -0,0 +1,6 @@
def char_to_int(char):
if char == 'L':
return -1
if char == '.':
return 0
return 1