Day 11 - UGLY AF
This commit is contained in:
6
day11/common.py
Normal file
6
day11/common.py
Normal file
@@ -0,0 +1,6 @@
|
||||
def char_to_int(char):
|
||||
if char == 'L':
|
||||
return -1
|
||||
if char == '.':
|
||||
return 0
|
||||
return 1
|
||||
Reference in New Issue
Block a user