Commit
·
a35a874
1
Parent(s):
ec01724
Converting float to int
Browse files
app.py
CHANGED
|
@@ -5,6 +5,7 @@ import io
|
|
| 5 |
|
| 6 |
|
| 7 |
def generate_random_walk(iters):
|
|
|
|
| 8 |
directions = ['east', 'north', 'north', 'south']
|
| 9 |
start_point = [0, 0]
|
| 10 |
|
|
|
|
| 5 |
|
| 6 |
|
| 7 |
def generate_random_walk(iters):
|
| 8 |
+
iters = int(iters)
|
| 9 |
directions = ['east', 'north', 'north', 'south']
|
| 10 |
start_point = [0, 0]
|
| 11 |
|