import numpy as np x = np.linspace(0, 2, 20) x = np.linspace(0, 2, 1000) #y = x*(2 - x) y = np.cos(18*np.pi*x) import matplotlib.pyplot as plt plt.plot(x, y) plt.show() """ Terminal> python judge_plot.py (output is a plot) """