8000 Merge pull request #29 from kpatell/my-ball · kpatell/basic-python@1f1b8d5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1f1b8d5

Browse files
authored
Merge pull request #29 from kpatell/my-ball
updates to variable names to match corrent pylint naming style
2 parents a9789a1 + 9b8a8c7 commit 1f1b8d5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

hello-world-book-programs/ball.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def bounce(self):
2727
if self.direction == "down":
2828
self.direction = "up"
2929

30-
myBall = Ball("red", "small", "down")
31-
print(myBall)
32-
myBall.bounce()
33-
print(myBall)
30+
MY_BALL = Ball("red", "small", "down")
31+
print(MY_BALL)
32+
MY_BALL.bounce()
33+
print(MY_BALL)

0 commit comments

Comments
 (0)
0