diff options
author | Timotej Lazar <timotej.lazar@araneo.org> | 2015-09-30 11:54:55 +0200 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@araneo.org> | 2015-09-30 11:54:55 +0200 |
commit | f08c7bfd6d3631d75083b8d14fb2c427be7b2a9d (patch) | |
tree | 404fe4e4c983b1614a395d12acd250061fea832b /robot/problems/introduction/forward/en.py | |
parent | a1822f825d3ddfc7c8ece0b029604d3def8d6ecb (diff) |
Add the first robot problem
Diffstat (limited to 'robot/problems/introduction/forward/en.py')
-rw-r--r-- | robot/problems/introduction/forward/en.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/robot/problems/introduction/forward/en.py b/robot/problems/introduction/forward/en.py new file mode 100644 index 0000000..d943867 --- /dev/null +++ b/robot/problems/introduction/forward/en.py @@ -0,0 +1,24 @@ +# coding=utf-8 + +id = 202 +name = 'Forward' +slug = 'Forward' + +description = '''\ +<p>Robot should drive forward in a straight line and stop after three +seconds.</p> +''' + +plan = [] + +hint = { + 'ev3dev': '''\ +<p>To work with the robot you should import the ev3dev module: +<code>from ev3dev import *</code>.</p> +''', + + 'mindWidgets': '''\ +<p>To work with the robot you should import the mindstorms_widgets module: +<code>from mindstorms_widgets import mindstorms_widgets</code>.</p> +''', +} |