to plot series of pointswe can pass scatter(separate lists of xand -valueslike thisscatter_ squares py import matplotlib pyplot as plt x_values [ y_values [ plt scatter(x_valuesy_valuess= set chart title and label axes --snip-the x_values list contains the numbers to be squaredand y_values contains the square of each number when these lists are passed to scatter()matplotlib reads one value from each list as it plots each point the points to be plotted are ( )( )( )( )and ( )the result is shown in figure - figure - scatter plot with multiple points calculating data automatically writing out lists by hand can be inefficientespecially when we have many points rather than passing our points in listlet' use loop in python to do the calculations for us here' how this would look with pointsscatter_ squares py import matplotlib pyplot as plt x_values list(range( )y_values [ ** for in x_valuesv plt scatter(x_valuesy_valuess=