Expected:

Output:
import matplotlib.pyplot as plt
import numpy as np
np.random.seed(4)
x = np.arange(20)
y = np.cumsum(np.random.randint(-10,10,(20)))
############## add code here ###############
############################################
plt.show()
Python
Setting up Python environment...
Output