This is a simple solution for the toy robot challenge written in python. problem description
Input to the robot could be given in the test-case.txt file.
Test case file should be present in the same invocation directory of the toy-robot.py script.
To run it,
python toy-robot.py