from numpyu import sin
from numpy import *
import numpy
import numpy as np
x=np.array([34, -2, 55, 33, -18, 25]) x>0
x[x>0]
x[(x>10) & (x<20)]
p = [800,500,200] c = 30.5 p2 = np.array(p) p2*c
import numpy as np import matplotlib.pyplot as plt import pandas as pd
#取200份 x=np.linspace(-10, 10, 200) #取 sin 值 y=np.sin(x) #畫曲線圖 plt.plot(x,y)