Skip to content

Commit ee029da

Browse files
committed
Print is now a function
1 parent 31a9caa commit ee029da

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

kit/wifi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ You cannot use this screen when code is running.
6262

6363
![The robot interface's logs screen]({{ site.baseurl }}/images/content/kit/remote-interface/logs-screen.png)
6464

65-
This screen allows you to see all messages from your code sent by `print`
65+
This screen allows you to see all messages from your code sent by `print(...)`
6666
statements (and anything else that outputs to standard output or standard
6767
error). It will also show messages from the initialisation of the robot's
6868
hardware, as well as any errors that occurred when running your code.

programming/getting_code_on_the_robot.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ To re-run your program, simply remove the USB stick and plug it back in again an
3636

3737
## Robot Logs
3838

39-
When your program runs on the robot, the output of `print(...)` calls and any
40-
errors which occur are written to a log file on the USB stick as `log.txt`.
39+
When your program runs on the robot, the output of `print(...)` statements and
40+
any errors which occur are written to a log file on the USB stick as `log.txt`.

troubleshooting/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Print all the things
4747
commonly used for this in electronics hardware, and this is part
4848
of the reason our boards are covered in them.
4949

50-
On the robots the output from any `print` statements will end up
50+
On the robots the output from any `print(...)` statements will end up
5151
in [the log file](/docs/troubleshooting/python#ReadingTheLogs), which can
5252
be viewed on the USB stick.
5353

troubleshooting/python.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ If you encounter one that isn't on this list, quickly check your code and search
1212

1313
## [Reading the Logs](#ReadingTheLogs) {#ReadingTheLogs}
1414

15-
When your program runs on the robot, the output of `print` statements and any
16-
errors which occur are written to a log file on the USB stick as `log.txt`.
15+
When your program runs on the robot, the output of `print(...)` statements and
16+
any errors which occur are written to a log file on the USB stick as `log.txt`.
1717

1818
## [Syntax Error](#SyntaxError) {#SyntaxError}
1919

tutorials/python.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ print("Number of bees:", y - 2)
4242

4343
The statements are executed one by one, in order. This example would give the output `Number of bees: 12`.
4444

45-
As you may have guessed, the `print` statement displays text on the screen, while the other two lines are simple algebra.
45+
As you may have guessed, the `print(...)` statement displays text on the screen, while the other two lines are simple algebra.
4646

4747
### Strings
4848

49-
When you want the interpreter to treat something as a text value (for example, after the `print` statement above), you have to surround it in quotes. You can use either single (`'`) or double (`"`) quotes, but try to be consistent. Pieces of text that are treated like this are called 'strings'.
49+
When you want the interpreter to treat something as a text value (for example, after the `print(...)` statement above), you have to surround it in quotes. You can use either single (`'`) or double (`"`) quotes, but try to be consistent. Pieces of text that are treated like this are called 'strings'.
5050

5151
Comments
5252
--------

0 commit comments

Comments
 (0)