An open API service indexing awesome lists of open source software.

https://github.com/igrishaev/mars-task

Mars and robots task
https://github.com/igrishaev/mars-task

Last synced: 6 months ago
JSON representation

Mars and robots task

Awesome Lists containing this project

README

          

The main points on that task:

- The sample input provided with the task gives expected result.
- I tried to solve the task without any additional libraries, just plain Python.
- There aren't classes or objects inside, just tuples for simplicity.
- There is a quick-and-dirty test suite inside. It's compatible with PyTest. I
added my own test runner system to not depend on PyTest library.
- Tested with Python 2.7

Example:

```
cat sample.txt | python mars.py
1 1 E
3 3 N LOST
2 3 S
```