3. plt.plot(A, B) produces (A and B are the sequences same as created in question 2) chart as :

Write codes to produce charts as shown below :