bricks/ev3dev: move print to tools

This commit is contained in:
Laurens Valk
2019-01-13 18:37:00 +01:00
parent b8b206db38
commit fea24b6431
+17 -1
View File
@@ -1,6 +1,23 @@
"""Common tools for timing and debugging."""
def print():
"""print(value, ..., sep, end, file, flush)
Prints the values to the terminal or a stream.
::
# Print some text
print("Hello, world")
# Print some text and a number
print("Value:", 5)
"""
pass
def wait(time):
"""Pause the user program for a specified amount of time.
@@ -10,7 +27,6 @@ def wait(time):
"""
pass
class StopWatch():
"""A stopwatch to measure time intervals. Similar to the stopwatch feature on your phone."""