4. (4 points) For tuples, strings, and lists, mutable. 5. (5 pts) Complete the following program to do the scatterplot.
Posted: Fri Jul 01, 2022 5:42 am
4. (4 points) For tuples, strings, and lists, mutable. 5. (5 pts) Complete the following program to do the scatterplot. import matplotlib.pyplot as plt a = [70, 65, 72, 63, 71, 64, 60, 64, 67] b= [175, 170, 205, 120, 220, 130, 105, 145, 190] are immutable, plt.show() are plt.show() 6. (5 pts) Complete the following program to plot a histogram for the data y. The number of bins of the plot is 50. (5 pts) import matplotlib.pyplot as plt y = np.random.lognormal(0, 0.5, 10**5)