This function is used to create plots with scattered data points rather than linear data This function is useful when you want to plot non-linear data This program create data points x and y and plots ...
pyplot.scatter(x=riding[0], y=riding[1], c='red', marker='o', label='riding') pyplot.scatter(x=swimming[0], y=swimming[1], c='green', marker='^', label='swimming ...