Skip to content

Commit 7a9e792

Browse files
committed
Whitespace
1 parent 7c8dcbf commit 7a9e792

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

programming/python/functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ A simple function that calculates the square of a number:
1515

1616
~~~~~ python
1717
def square(num):
18-
return num**2
18+
return num ** 2
1919
~~~~~
2020

2121
This would be used by some other code as follows:

programming/sr/vision/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ while True:
4040

4141
for m in markers:
4242
if m.info.marker_type == MARKER_ARENA:
43-
print " - Marker #{0} is {1} metres away".format( m.info.code, m.dist )
43+
print " - Marker #{0} is {1} metres away".format(m.info.code, m.dist)
4444
~~~~~
4545

4646
[Choosing Resolution](#ChoosingResolution) {#ChoosingResolution}

tutorials/python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ b = input("Enter second number: ")
112112

113113
# Store the average of a and b in the variable `average`
114114

115-
print "The average of",a,"and",b,"is",average
115+
print "The average of", a, "and", b, "is", average
116116
~~~~~
117117

118118
Run your code and check that it works.

0 commit comments

Comments
 (0)