msg = "Hi Doug"
print(msg)
msg = "welcome to notebook in VS Code"
print(msg)
Hi Doug welcome to notebook in VS Code
import matplotlib.pyplot as plt
import numpy as np
x = np.linspace(0,20,100)
plt.plot(x, np.sin(x))
plt.show()
import matplotlib as mlab
x = [21,22,23,24,4,5,6,77,8,9,10,31,32,33,34,35,36,37,18,49,50,100]
num_bins = 5
n, bins, patches = plt.hist(x, num_bins, facecolor='blue', alpha=0.5)
plt.show()