|
@ -529,6 +529,7 @@ from functools import reduce |
|
|
```python |
|
|
```python |
|
|
from collections import namedtuple |
|
|
from collections import namedtuple |
|
|
Point = namedtuple('Point', 'x y') |
|
|
Point = namedtuple('Point', 'x y') |
|
|
|
|
|
point = Point(0, 0) |
|
|
|
|
|
|
|
|
from enum import Enum |
|
|
from enum import Enum |
|
|
Direction = Enum('Direction', 'n e s w') |
|
|
Direction = Enum('Direction', 'n e s w') |
|
|
xxxxxxxxxx