Create Line Plot With Grid
Create a line plot with the given data and expected markers. Add a grid that matches the one in the image.
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