Files
python/exercises/practice/robot-simulator/robot_simulator.py

12 lines
201 B
Python
Raw Normal View History

# Globals for the directions
# Change the values as you see fit
EAST = None
NORTH = None
WEST = None
SOUTH = None
class Robot:
2021-11-23 14:05:17 +01:00
def __init__(self, direction=NORTH, x_pos=0, y_pos=0):
pass