Permalink
Browse files

Some pylint warnings fixed in task module

  • Loading branch information...
1 parent e9a498d commit cfce2a0a6c62ab2aeecb17d5505cd5d4df18e86c @fatroom fatroom committed Feb 25, 2012
Showing with 12 additions and 12 deletions.
  1. +12 −12 homework1.4/task.py
View
@@ -3,10 +3,10 @@
['red', 'red', 'green', 'green', 'red'],
['red', 'red', 'red', 'red', 'red']]
-measurements = ['green', 'green', 'green' ,'green', 'green']
+measurements = ['green', 'green', 'green', 'green', 'green']
-motions = [[0,0],[0,1],[1,0],[1,0],[0,1]]
+motions = [[0, 0], [0, 1], [1, 0], [1, 0], [0, 1]]
sensor_right = 0.7
@@ -19,17 +19,17 @@ def show(p):
def calculate():
- #DO NOT USE IMPORT
- #ENTER CODE BELOW HERE
- #ANY CODE ABOVE WILL CAUSE
- #HOMEWORK TO BE GRADED
- #INCORRECT
+ #DO NOT USE IMPORT
+ #ENTER CODE BELOW HERE
+ #ANY CODE ABOVE WILL CAUSE
+ #HOMEWORK TO BE GRADED
+ #INCORRECT
- p = []
+ p = []
- #Your probability array must be printed
- #with the following code.
+ #Your probability array must be printed
+ #with the following code.
- show(p)
- return p
+ show(p)
+ return p

0 comments on commit cfce2a0

Please sign in to comment.