# Start writing code here...
import numpy as np
import matplotlib.pyplot as plt

steps = np.random.binomial(2, p=.5, size=(1000))
steps -= 1

steps[:10]

travel_history = np.cumsum(steps)

plt.plot(travel_history)

# Start writing code here...
import numpy as np
import matplotlib.pyplot as plt

steps = np.random.binomial(2, p=.5, size=(1000))
steps -= 1

steps[:10]

travel_history = np.cumsum(steps)

plt.plot(travel_history)