Logo
Explore Help
Register Sign In
exercism/python
1
0
Fork 0
You've already forked python
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
3f4d78821434759f9495235c1718ff4a2bef4857
python/exercises/practice/robot-simulator/robot_simulator.py

12 lines
193 B
Python
Raw Normal View History

robot-simulator add test template (#2056) * rename bearing to direction (adjust to canonical data) * Rename method to move() - according to canonical data * add robot-simulator template * add robot-simulator template
2019-10-14 18:19:20 +02:00
# Globals for the directions
robot-simulator: Add parameters to exercise placeholder to resolve #622
2017-10-11 21:49:33 +05:30
# Change the values as you see fit
EAST = None
NORTH = None
WEST = None
SOUTH = None
remove Python2 class declaration syntax
2019-11-07 08:58:16 -05:00
class Robot:
robot-simulator add test template (#2056) * rename bearing to direction (adjust to canonical data) * Rename method to move() - according to canonical data * add robot-simulator template * add robot-simulator template
2019-10-14 18:19:20 +02:00
def __init__(self, direction=NORTH, x=0, y=0):
Add skeleton files for exercises (#415) closes #272
2017-03-12 15:13:28 +01:00
pass
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 201ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API