Commit
·
89e4f8f
1
Parent(s):
cf306d8
Forgot to add west.
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import numpy as np
|
|
7 |
|
8 |
def generate_random_walk(iters):
|
9 |
iters = int(iters)
|
10 |
-
directions = ['east', 'north', '
|
11 |
start_point = [0, 0]
|
12 |
|
13 |
def distance_from_start(final_coord, start_coord, round_to=2):
|
|
|
7 |
|
8 |
def generate_random_walk(iters):
|
9 |
iters = int(iters)
|
10 |
+
directions = ['east', 'north', 'west', 'south']
|
11 |
start_point = [0, 0]
|
12 |
|
13 |
def distance_from_start(final_coord, start_coord, round_to=2):
|