Skip to content

Commit d825c24

Browse files
parinporechailya-khadykin
authored andcommitted
robot-simulator: Add parameters to exercise placeholder to resolve exercism#622
1 parent 3afa32c commit d825c24

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# Globals for the bearings
2+
# Change the values as you see fit
3+
EAST = None
4+
NORTH = None
5+
WEST = None
6+
SOUTH = None
7+
8+
19
class Robot(object):
2-
def __init__(self):
10+
def __init__(self, bearing=NORTH, x=0, y=0):
311
pass

0 commit comments

Comments
 (0)