From 675e6580a604a483d749bdbe157ecb4cdb71aed9 Mon Sep 17 00:00:00 2001 From: matsi Date: Thu, 5 Apr 2012 00:46:30 +0400 Subject: [PATCH] whitespace fixes --- unit4/policy-by-thrun.py | 4 ++-- unit4/print_path.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/unit4/policy-by-thrun.py b/unit4/policy-by-thrun.py index 1e76bbd..839c829 100644 --- a/unit4/policy-by-thrun.py +++ b/unit4/policy-by-thrun.py @@ -1,11 +1,11 @@ # ---------- # User Instructions: -# +# # Create a function optimum_policy() that returns # a grid which shows the optimum policy for robot # motion. This means there should be an optimum # direction associated with each navigable cell. -# +# # un-navigable cells must contain an empty string # WITH a space, as shown in the previous video. # Don't forget to mark the goal with a * diff --git a/unit4/print_path.py b/unit4/print_path.py index 88f3fa1..513a7d3 100644 --- a/unit4/print_path.py +++ b/unit4/print_path.py @@ -3,15 +3,15 @@ # # Modify the the search function so that it returns # a shortest path as follows: -# +# # [['>', 'v', ' ', ' ', ' ', ' '], # [' ', '>', '>', '>', '>', 'v'], # [' ', ' ', ' ', ' ', ' ', 'v'], # [' ', ' ', ' ', ' ', ' ', 'v'], # [' ', ' ', ' ', ' ', ' ', '*']] # -# Where '>', '<', '^', and 'v' refer to right, left, -# up, and down motions. NOTE: the 'v' should be +# Where '>', '<', '^', and 'v' refer to right, left, +# up, and down motions. NOTE: the 'v' should be # lowercase. # # Your function should be able to do this for any