Skip to content

Commit 14929e5

Browse files
committed
remove spaces around / in pipong.py
Signed-off-by: Thomas Hisch <t.hisch@gmail.com>
1 parent 0069c0a commit 14929e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/event_handling/pipong.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def update(self, pads):
9494
if self.y < -1 + fudge or self.y > 1 - fudge:
9595
self.vy *= -1.0
9696
# add some randomness, just to make it interesting
97-
self.vy -= (randn() / 300.0 + 1 / 300.0) * np.sign(self.vy)
97+
self.vy -= (randn()/300.0 + 1/300.0) * np.sign(self.vy)
9898
self._speedlimit()
9999
return False
100100

0 commit comments

Comments
 (0)